package com.kucai.yifaqapp.ui.fragment.gameFragment;

import android.content.Context;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.os.CountDownTimer;
import android.os.SystemClock;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v4.app.FragmentActivity;
import android.support.v7.app.AlertDialog;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.text.Editable;
import android.text.InputType;
import android.text.TextUtils;
import android.text.TextWatcher;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.inputmethod.InputMethodManager;
import android.widget.Button;
import android.widget.EditText;
import android.widget.LinearLayout;
import android.widget.ScrollView;
import android.widget.TextView;
import android.widget.Toast;

import com.kucai.yifaqapp.R;
import com.kucai.yifaqapp.dagger.component.fragment.DaggerNCragmentComponent;
import com.kucai.yifaqapp.dagger.module.fragment.NCragmentModule;
import com.kucai.yifaqapp.global.Info;
import com.kucai.yifaqapp.model.network.entity.res.Res11xuan5;
import com.kucai.yifaqapp.model.network.entity.res.ResGameDetails;
import com.kucai.yifaqapp.model.network.entity.res.ResMoney;
import com.kucai.yifaqapp.model.network.entity.res.Reskuaile10fen;
import com.kucai.yifaqapp.model.network.entity.res.Resxingyunnongchang;
import com.kucai.yifaqapp.model.network.entity.res.Viewbean;
import com.kucai.yifaqapp.presenter.fragment.NCragmentPresenter;
import com.kucai.yifaqapp.ui.activity.BaseActivity;
import com.kucai.yifaqapp.ui.activity.GameDetailActivityFinal;
import com.kucai.yifaqapp.ui.fragment.BaseFragment;
import com.kucai.yifaqapp.util.DateUtils;
import com.kucai.yifaqapp.util.OnItemClickListener;
import com.kucai.yifaqapp.util.SYSOUtils;
import com.kucai.yifaqapp.util.SpUtils;
import com.kucai.yifaqapp.util.TimeTools;
import com.kucai.yifaqapp.widget.KeyBoardWeight;

import org.json.JSONException;
import org.json.JSONObject;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.Unbinder;

/**
 * Created by Administrator on 2018/12/10.
 */

public class NCragment extends BaseFragment<NCragmentPresenter> {

    @BindView(R.id.longhu5)
    LinearLayout longhu5;
    @BindView(R.id.longhu6)
    LinearLayout longhu6;
    @BindView(R.id.longhu7)
    LinearLayout longhu7;
    @BindView(R.id.longhu8)
    LinearLayout longhu8;
    Unbinder unbinder;
    @BindView(R.id.di5longhu)
    LinearLayout di5longhu;
    private List<String> poplist = new ArrayList<>();
    @BindView(R.id.kuai8_up_tv)
    TextView kuai8UpTv;
    @BindView(R.id.kuai8_one)
    TextView kuai8One;
    @BindView(R.id.kuai8_two)
    TextView kuai8Two;
    @BindView(R.id.kuai8_three)
    TextView kuai8Three;
    @BindView(R.id.kuai8_four)
    TextView kuai8Four;
    @BindView(R.id.kuai8_fiv)
    TextView kuai8Fiv;
    @BindView(R.id.kuai8_six)
    TextView kuai8Six;
    @BindView(R.id.kuai8_seven)
    TextView kuai8Seven;
    @BindView(R.id.kuai8_eight)
    TextView kuai8Eight;
    @BindView(R.id.kuai8_noon)
    TextView kuai8Noon;
    @BindView(R.id.kuai8_ten)
    TextView kuai8Ten;
    @BindView(R.id.kuai8_iv_lin)
    LinearLayout kuai8IvLin;
    @BindView(R.id.ivtext_1)
    TextView ivtext1;
    @BindView(R.id.ivtext_2)
    TextView ivtext2;
    @BindView(R.id.ivtext_3)
    TextView ivtext3;
    @BindView(R.id.ivtext_4)
    TextView ivtext4;
    @BindView(R.id.ivtext_5)
    TextView ivtext5;
    @BindView(R.id.ivtext_6)
    TextView ivtext6;
    @BindView(R.id.includ1_one9s)
    TextView includ1One9s;
    @BindView(R.id.ivtext_7)
    TextView ivtext7;
    @BindView(R.id.ivtext_8)
    TextView ivtext8;
    @BindView(R.id.putongtv)
    LinearLayout putongtv;
    @BindView(R.id.period_down_tv)
    TextView periodDownTv;
    @BindView(R.id.close_time_tv)
    TextView closeTimeTv;
    @BindView(R.id.open_time_tv)
    TextView openTimeTv;
    @BindView(R.id.qiuliangmianbt)
    TextView qiuliangmianbt;
    @BindView(R.id.qiu1bt)
    TextView qiu1bt;
    @BindView(R.id.qiu2bt)
    TextView qiu2bt;
    @BindView(R.id.qiu3bt)
    TextView qiu3bt;
    @BindView(R.id.qiu4bt)
    TextView qiu4bt;
    @BindView(R.id.qiu5bt)
    TextView qiu5bt;
    @BindView(R.id.qiu6bt)
    TextView qiu6bt;
    @BindView(R.id.qiu7bt)
    TextView qiu7bt;
    @BindView(R.id.qiu8bt)
    TextView qiu8bt;
    @BindView(R.id.qiulianmabt)
    TextView qiulianmabt;
    @BindView(R.id.liangmiantitle)
    TextView liangmiantitle;
    @BindView(R.id.qiuzongheda)
    TextView qiuzongheda;
    @BindView(R.id.qiuzonghedas)
    TextView qiuzonghedas;
    @BindView(R.id.qiuzonghedalin)
    LinearLayout qiuzonghedalin;
    @BindView(R.id.qiuzonghexiao)
    TextView qiuzonghexiao;
    @BindView(R.id.qiuzonghexiaos)
    TextView qiuzonghexiaos;
    @BindView(R.id.qiuzonghexiaolin)
    LinearLayout qiuzonghexiaolin;
    @BindView(R.id.qiuzonghedan)
    TextView qiuzonghedan;
    @BindView(R.id.qiuzonghedans)
    TextView qiuzonghedans;
    @BindView(R.id.qiuzonghedanlin)
    LinearLayout qiuzonghedanlin;
    @BindView(R.id.qiuzongheshuang)
    TextView qiuzongheshuang;
    @BindView(R.id.qiuzongheshuangs)
    TextView qiuzongheshuangs;
    @BindView(R.id.qiuzongheshaunglin)
    LinearLayout qiuzongheshaunglin;
    @BindView(R.id.zongweida)
    TextView zongweida;
    @BindView(R.id.zongweidas)
    TextView zongweidas;
    @BindView(R.id.zongweidalin)
    LinearLayout zongweidalin;
    @BindView(R.id.zongweixiao)
    TextView zongweixiao;
    @BindView(R.id.zongweixiaos)
    TextView zongweixiaos;
    @BindView(R.id.zongweixiaolin)
    LinearLayout zongweixiaolin;
    @BindView(R.id.longt)
    TextView longt;
    @BindView(R.id.longs)
    TextView longs;
    @BindView(R.id.longlin)
    LinearLayout longlin;
    @BindView(R.id.hu)
    TextView hu;
    @BindView(R.id.hus)
    TextView hus;
    @BindView(R.id.hulin)
    LinearLayout hulin;
    @BindView(R.id.longhulin)
    LinearLayout longhulin;
    @BindView(R.id.qiu1da)
    TextView qiu1da;
    @BindView(R.id.qiu1das)
    TextView qiu1das;
    @BindView(R.id.qiu1dalin)
    LinearLayout qiu1dalin;
    @BindView(R.id.qiu1xiao)
    TextView qiu1xiao;
    @BindView(R.id.qiu1xiaos)
    TextView qiu1xiaos;
    @BindView(R.id.qiu1xiaolin)
    LinearLayout qiu1xiaolin;
    @BindView(R.id.qiu1dan)
    TextView qiu1dan;
    @BindView(R.id.qiu1dans)
    TextView qiu1dans;
    @BindView(R.id.qiu1danlin)
    LinearLayout qiu1danlin;
    @BindView(R.id.qiu1shuang)
    TextView qiu1shuang;
    @BindView(R.id.qiu1shuangs)
    TextView qiu1shuangs;
    @BindView(R.id.qiu1shaunglin)
    LinearLayout qiu1shaunglin;
    @BindView(R.id.qiu1hedan)
    TextView qiu1hedan;
    @BindView(R.id.qiu1hedans)
    TextView qiu1hedans;
    @BindView(R.id.qiu1hedanlin)
    LinearLayout qiu1hedanlin;
    @BindView(R.id.qiu1heshaung)
    TextView qiu1heshaung;
    @BindView(R.id.qiu1heshaungs)
    TextView qiu1heshaungs;
    @BindView(R.id.qiu1heshaunglin)
    LinearLayout qiu1heshaunglin;
    @BindView(R.id.qiu1weida)
    TextView qiu1weida;
    @BindView(R.id.qiu1weidas)
    TextView qiu1weidas;
    @BindView(R.id.qiu1weidalin)
    LinearLayout qiu1weidalin;
    @BindView(R.id.qiu1weixiao)
    TextView qiu1weixiao;
    @BindView(R.id.qiu1weixiaos)
    TextView qiu1weixiaos;
    @BindView(R.id.qiu1weixiaolin)
    LinearLayout qiu1weixiaolin;
    @BindView(R.id.qiu1long)
    TextView qiu1long;
    @BindView(R.id.qiu1longs)
    TextView qiu1longs;
    @BindView(R.id.qiu1longlin)
    LinearLayout qiu1longlin;
    @BindView(R.id.qiu1hu)
    TextView qiu1hu;
    @BindView(R.id.qiu1hus)
    TextView qiu1hus;
    @BindView(R.id.qiu1hulin)
    LinearLayout qiu1hulin;
    @BindView(R.id.shiyiyincang1)
    LinearLayout shiyiyincang1;
    @BindView(R.id.qiu2da)
    TextView qiu2da;
    @BindView(R.id.qiu2das)
    TextView qiu2das;
    @BindView(R.id.qiu2dalin)
    LinearLayout qiu2dalin;
    @BindView(R.id.qiu2xiao)
    TextView qiu2xiao;
    @BindView(R.id.qiu2xiaos)
    TextView qiu2xiaos;
    @BindView(R.id.qiu2xiaolin)
    LinearLayout qiu2xiaolin;
    @BindView(R.id.qiu2dan)
    TextView qiu2dan;
    @BindView(R.id.qiu2dans)
    TextView qiu2dans;
    @BindView(R.id.qiu2danlin)
    LinearLayout qiu2danlin;
    @BindView(R.id.qiu2shuang)
    TextView qiu2shuang;
    @BindView(R.id.qiu2shuangs)
    TextView qiu2shuangs;
    @BindView(R.id.qiu2shaunglin)
    LinearLayout qiu2shaunglin;
    @BindView(R.id.qiu2hedan)
    TextView qiu2hedan;
    @BindView(R.id.qiu2hedans)
    TextView qiu2hedans;
    @BindView(R.id.qiu2hedanlin)
    LinearLayout qiu2hedanlin;
    @BindView(R.id.qiu2heshaung)
    TextView qiu2heshaung;
    @BindView(R.id.qiu2heshaungs)
    TextView qiu2heshaungs;
    @BindView(R.id.qiu2heshaunglin)
    LinearLayout qiu2heshaunglin;
    @BindView(R.id.qiu2weida)
    TextView qiu2weida;
    @BindView(R.id.qiu2weidas)
    TextView qiu2weidas;
    @BindView(R.id.qiu2weidalin)
    LinearLayout qiu2weidalin;
    @BindView(R.id.qiu2weixiao)
    TextView qiu2weixiao;
    @BindView(R.id.qiu2weixiaos)
    TextView qiu2weixiaos;
    @BindView(R.id.qiu2weixiaolin)
    LinearLayout qiu2weixiaolin;
    @BindView(R.id.qiu2long)
    TextView qiu2long;
    @BindView(R.id.qiu2longs)
    TextView qiu2longs;
    @BindView(R.id.qiu2longlin)
    LinearLayout qiu2longlin;
    @BindView(R.id.qiu2hu)
    TextView qiu2hu;
    @BindView(R.id.qiu2hus)
    TextView qiu2hus;
    @BindView(R.id.qiu2hulin)
    LinearLayout qiu2hulin;
    @BindView(R.id.shiyiyincang2)
    LinearLayout shiyiyincang2;
    @BindView(R.id.qiu3da)
    TextView qiu3da;
    @BindView(R.id.qiu3das)
    TextView qiu3das;
    @BindView(R.id.qiu3dalin)
    LinearLayout qiu3dalin;
    @BindView(R.id.qiu3xiao)
    TextView qiu3xiao;
    @BindView(R.id.qiu3xiaos)
    TextView qiu3xiaos;
    @BindView(R.id.qiu3xiaolin)
    LinearLayout qiu3xiaolin;
    @BindView(R.id.qiu3dan)
    TextView qiu3dan;
    @BindView(R.id.qiu3dans)
    TextView qiu3dans;
    @BindView(R.id.qiu3danlin)
    LinearLayout qiu3danlin;
    @BindView(R.id.qiu3shuang)
    TextView qiu3shuang;
    @BindView(R.id.qiu3shuangs)
    TextView qiu3shuangs;
    @BindView(R.id.qiu3shaunglin)
    LinearLayout qiu3shaunglin;
    @BindView(R.id.qiu3hedan)
    TextView qiu3hedan;
    @BindView(R.id.qiu3hedans)
    TextView qiu3hedans;
    @BindView(R.id.qiu3hedanlin)
    LinearLayout qiu3hedanlin;
    @BindView(R.id.qiu3heshaung)
    TextView qiu3heshaung;
    @BindView(R.id.qiu3heshaungs)
    TextView qiu3heshaungs;
    @BindView(R.id.qiu3heshaunglin)
    LinearLayout qiu3heshaunglin;
    @BindView(R.id.qiu3weida)
    TextView qiu3weida;
    @BindView(R.id.qiu3weidas)
    TextView qiu3weidas;
    @BindView(R.id.qiu3weidalin)
    LinearLayout qiu3weidalin;
    @BindView(R.id.qiu3weixiao)
    TextView qiu3weixiao;
    @BindView(R.id.qiu3weixiaos)
    TextView qiu3weixiaos;
    @BindView(R.id.qiu3weixiaolin)
    LinearLayout qiu3weixiaolin;
    @BindView(R.id.qiu3long)
    TextView qiu3long;
    @BindView(R.id.qiu3longs)
    TextView qiu3longs;
    @BindView(R.id.qiu3longlin)
    LinearLayout qiu3longlin;
    @BindView(R.id.qiu3hu)
    TextView qiu3hu;
    @BindView(R.id.qiu3hus)
    TextView qiu3hus;
    @BindView(R.id.qiu3hulin)
    LinearLayout qiu3hulin;
    @BindView(R.id.shiyiyincang3)
    LinearLayout shiyiyincang3;
    @BindView(R.id.qiu4da)
    TextView qiu4da;
    @BindView(R.id.qiu4das)
    TextView qiu4das;
    @BindView(R.id.qiu4dalin)
    LinearLayout qiu4dalin;
    @BindView(R.id.qiu4xiao)
    TextView qiu4xiao;
    @BindView(R.id.qiu4xiaos)
    TextView qiu4xiaos;
    @BindView(R.id.qiu4xiaolin)
    LinearLayout qiu4xiaolin;
    @BindView(R.id.qiu4dan)
    TextView qiu4dan;
    @BindView(R.id.qiu4dans)
    TextView qiu4dans;
    @BindView(R.id.qiu4danlin)
    LinearLayout qiu4danlin;
    @BindView(R.id.qiu4shuang)
    TextView qiu4shuang;
    @BindView(R.id.qiu4shuangs)
    TextView qiu4shuangs;
    @BindView(R.id.qiu4shaunglin)
    LinearLayout qiu4shaunglin;
    @BindView(R.id.qiu4hedan)
    TextView qiu4hedan;
    @BindView(R.id.qiu4hedans)
    TextView qiu4hedans;
    @BindView(R.id.qiu4hedanlin)
    LinearLayout qiu4hedanlin;
    @BindView(R.id.qiu4heshaung)
    TextView qiu4heshaung;
    @BindView(R.id.qiu4heshaungs)
    TextView qiu4heshaungs;
    @BindView(R.id.qiu4heshaunglin)
    LinearLayout qiu4heshaunglin;
    @BindView(R.id.qiu4weida)
    TextView qiu4weida;
    @BindView(R.id.qiu4weidas)
    TextView qiu4weidas;
    @BindView(R.id.qiu4weidalin)
    LinearLayout qiu4weidalin;
    @BindView(R.id.qiu4weixiao)
    TextView qiu4weixiao;
    @BindView(R.id.qiu4weixiaos)
    TextView qiu4weixiaos;
    @BindView(R.id.qiu4weixiaolin)
    LinearLayout qiu4weixiaolin;
    @BindView(R.id.qiu4long)
    TextView qiu4long;
    @BindView(R.id.qiu4longs)
    TextView qiu4longs;
    @BindView(R.id.qiu4longlin)
    LinearLayout qiu4longlin;
    @BindView(R.id.qiu4hu)
    TextView qiu4hu;
    @BindView(R.id.qiu4hus)
    TextView qiu4hus;
    @BindView(R.id.qiu4hulin)
    LinearLayout qiu4hulin;
    @BindView(R.id.shiyiyincang4)
    LinearLayout shiyiyincang4;
    @BindView(R.id.qiu5da)
    TextView qiu5da;
    @BindView(R.id.qiu5das)
    TextView qiu5das;
    @BindView(R.id.qiu5dalin)
    LinearLayout qiu5dalin;
    @BindView(R.id.qiu5xiao)
    TextView qiu5xiao;
    @BindView(R.id.qiu5xiaos)
    TextView qiu5xiaos;
    @BindView(R.id.qiu5xiaolin)
    LinearLayout qiu5xiaolin;
    @BindView(R.id.qiu5dan)
    TextView qiu5dan;
    @BindView(R.id.qiu5dans)
    TextView qiu5dans;
    @BindView(R.id.qiu5danlin)
    LinearLayout qiu5danlin;
    @BindView(R.id.qiu5shuang)
    TextView qiu5shuang;
    @BindView(R.id.qiu5shuangs)
    TextView qiu5shuangs;
    @BindView(R.id.qiu5shaunglin)
    LinearLayout qiu5shaunglin;
    @BindView(R.id.qiu5hedan)
    TextView qiu5hedan;
    @BindView(R.id.qiu5hedans)
    TextView qiu5hedans;
    @BindView(R.id.qiu5hedanlin)
    LinearLayout qiu5hedanlin;
    @BindView(R.id.qiu5heshaung)
    TextView qiu5heshaung;
    @BindView(R.id.qiu5heshaungs)
    TextView qiu5heshaungs;
    @BindView(R.id.qiu5heshaunglin)
    LinearLayout qiu5heshaunglin;
    @BindView(R.id.qiu5weida)
    TextView qiu5weida;
    @BindView(R.id.qiu5weidas)
    TextView qiu5weidas;
    @BindView(R.id.qiu5weidalin)
    LinearLayout qiu5weidalin;
    @BindView(R.id.qiu5weixiao)
    TextView qiu5weixiao;
    @BindView(R.id.qiu5weixiaos)
    TextView qiu5weixiaos;
    @BindView(R.id.qiu5weixiaolin)
    LinearLayout qiu5weixiaolin;
    @BindView(R.id.qiu5long)
    TextView qiu5long;
    @BindView(R.id.qiu5longs)
    TextView qiu5longs;
    @BindView(R.id.qiu5longlin)
    LinearLayout qiu5longlin;
    @BindView(R.id.qiu5hu)
    TextView qiu5hu;
    @BindView(R.id.qiu5hus)
    TextView qiu5hus;
    @BindView(R.id.qiu5hulin)
    LinearLayout qiu5hulin;
    @BindView(R.id.qiu6da)
    TextView qiu6da;
    @BindView(R.id.qiu6das)
    TextView qiu6das;
    @BindView(R.id.qiu6dalin)
    LinearLayout qiu6dalin;
    @BindView(R.id.qiu6xiao)
    TextView qiu6xiao;
    @BindView(R.id.qiu6xiaos)
    TextView qiu6xiaos;
    @BindView(R.id.qiu6xiaolin)
    LinearLayout qiu6xiaolin;
    @BindView(R.id.qiu6dan)
    TextView qiu6dan;
    @BindView(R.id.qiu6dans)
    TextView qiu6dans;
    @BindView(R.id.qiu6danlin)
    LinearLayout qiu6danlin;
    @BindView(R.id.qiu6shuang)
    TextView qiu6shuang;
    @BindView(R.id.qiu6shuangs)
    TextView qiu6shuangs;
    @BindView(R.id.qiu6shaunglin)
    LinearLayout qiu6shaunglin;
    @BindView(R.id.qiu6hedan)
    TextView qiu6hedan;
    @BindView(R.id.qiu6hedans)
    TextView qiu6hedans;
    @BindView(R.id.qiu6hedanlin)
    LinearLayout qiu6hedanlin;
    @BindView(R.id.qiu6heshaung)
    TextView qiu6heshaung;
    @BindView(R.id.qiu6heshaungs)
    TextView qiu6heshaungs;
    @BindView(R.id.qiu6heshaunglin)
    LinearLayout qiu6heshaunglin;
    @BindView(R.id.qiu6weida)
    TextView qiu6weida;
    @BindView(R.id.qiu6weidas)
    TextView qiu6weidas;
    @BindView(R.id.qiu6weidalin)
    LinearLayout qiu6weidalin;
    @BindView(R.id.qiu6weixiao)
    TextView qiu6weixiao;
    @BindView(R.id.qiu6weixiaos)
    TextView qiu6weixiaos;
    @BindView(R.id.qiu6weixiaolin)
    LinearLayout qiu6weixiaolin;
    @BindView(R.id.qiu6long)
    TextView qiu6long;
    @BindView(R.id.qiu6longs)
    TextView qiu6longs;
    @BindView(R.id.qiu6longlin)
    LinearLayout qiu6longlin;
    @BindView(R.id.qiu6hu)
    TextView qiu6hu;
    @BindView(R.id.qiu6hus)
    TextView qiu6hus;
    @BindView(R.id.qiu6hulin)
    LinearLayout qiu6hulin;
    @BindView(R.id.qiu7da)
    TextView qiu7da;
    @BindView(R.id.qiu7das)
    TextView qiu7das;
    @BindView(R.id.qiu7dalin)
    LinearLayout qiu7dalin;
    @BindView(R.id.qiu7xiao)
    TextView qiu7xiao;
    @BindView(R.id.qiu7xiaos)
    TextView qiu7xiaos;
    @BindView(R.id.qiu7xiaolin)
    LinearLayout qiu7xiaolin;
    @BindView(R.id.qiu7dan)
    TextView qiu7dan;
    @BindView(R.id.qiu7dans)
    TextView qiu7dans;
    @BindView(R.id.qiu7danlin)
    LinearLayout qiu7danlin;
    @BindView(R.id.qiu7shuang)
    TextView qiu7shuang;
    @BindView(R.id.qiu7shuangs)
    TextView qiu7shuangs;
    @BindView(R.id.qiu7shaunglin)
    LinearLayout qiu7shaunglin;
    @BindView(R.id.qiu7hedan)
    TextView qiu7hedan;
    @BindView(R.id.qiu7hedans)
    TextView qiu7hedans;
    @BindView(R.id.qiu7hedanlin)
    LinearLayout qiu7hedanlin;
    @BindView(R.id.qiu7heshaung)
    TextView qiu7heshaung;
    @BindView(R.id.qiu7heshaungs)
    TextView qiu7heshaungs;
    @BindView(R.id.qiu7heshaunglin)
    LinearLayout qiu7heshaunglin;
    @BindView(R.id.qiu7weida)
    TextView qiu7weida;
    @BindView(R.id.qiu7weidas)
    TextView qiu7weidas;
    @BindView(R.id.qiu7weidalin)
    LinearLayout qiu7weidalin;
    @BindView(R.id.qiu7weixiao)
    TextView qiu7weixiao;
    @BindView(R.id.qiu7weixiaos)
    TextView qiu7weixiaos;
    @BindView(R.id.qiu7weixiaolin)
    LinearLayout qiu7weixiaolin;
    @BindView(R.id.qiu7long)
    TextView qiu7long;
    @BindView(R.id.qiu7longs)
    TextView qiu7longs;
    @BindView(R.id.qiu7longlin)
    LinearLayout qiu7longlin;
    @BindView(R.id.qiu7hu)
    TextView qiu7hu;
    @BindView(R.id.qiu7hus)
    TextView qiu7hus;
    @BindView(R.id.qiu7hulin)
    LinearLayout qiu7hulin;
    @BindView(R.id.qiu8da)
    TextView qiu8da;
    @BindView(R.id.qiu8das)
    TextView qiu8das;
    @BindView(R.id.qiu8dalin)
    LinearLayout qiu8dalin;
    @BindView(R.id.qiu8xiao)
    TextView qiu8xiao;
    @BindView(R.id.qiu8xiaos)
    TextView qiu8xiaos;
    @BindView(R.id.qiu8xiaolin)
    LinearLayout qiu8xiaolin;
    @BindView(R.id.qiu8dan)
    TextView qiu8dan;
    @BindView(R.id.qiu8dans)
    TextView qiu8dans;
    @BindView(R.id.qiu8danlin)
    LinearLayout qiu8danlin;
    @BindView(R.id.qiu8shuang)
    TextView qiu8shuang;
    @BindView(R.id.qiu8shuangs)
    TextView qiu8shuangs;
    @BindView(R.id.qiu8shaunglin)
    LinearLayout qiu8shaunglin;
    @BindView(R.id.qiu8hedan)
    TextView qiu8hedan;
    @BindView(R.id.qiu8hedans)
    TextView qiu8hedans;
    @BindView(R.id.qiu8hedanlin)
    LinearLayout qiu8hedanlin;
    @BindView(R.id.qiu8heshaung)
    TextView qiu8heshaung;
    @BindView(R.id.qiu8heshaungs)
    TextView qiu8heshaungs;
    @BindView(R.id.qiu8heshaunglin)
    LinearLayout qiu8heshaunglin;
    @BindView(R.id.qiu8weida)
    TextView qiu8weida;
    @BindView(R.id.qiu8weidas)
    TextView qiu8weidas;
    @BindView(R.id.qiu8weidalin)
    LinearLayout qiu8weidalin;
    @BindView(R.id.qiu8weixiao)
    TextView qiu8weixiao;
    @BindView(R.id.qiu8weixiaos)
    TextView qiu8weixiaos;
    @BindView(R.id.qiu8weixiaolin)
    LinearLayout qiu8weixiaolin;
    @BindView(R.id.qiu8long)
    TextView qiu8long;
    @BindView(R.id.qiu8longs)
    TextView qiu8longs;
    @BindView(R.id.qiu8longlin)
    LinearLayout qiu8longlin;
    @BindView(R.id.qiu8hu)
    TextView qiu8hu;
    @BindView(R.id.qiu8hus)
    TextView qiu8hus;
    @BindView(R.id.qiu8hulin)
    LinearLayout qiu8hulin;
    @BindView(R.id.shiyiyincang5)
    LinearLayout shiyiyincang5;
    @BindView(R.id.qiuliangmianlin)
    LinearLayout qiuliangmianlin;
    @BindView(R.id.qiutitle)
    TextView qiutitle;
    @BindView(R.id.qiu1)
    TextView qiu1;
    @BindView(R.id.qiulin1)
    LinearLayout qiulin1;
    @BindView(R.id.qiu2)
    TextView qiu2;
    @BindView(R.id.qiulin2)
    LinearLayout qiulin2;
    @BindView(R.id.qiu3)
    TextView qiu3;
    @BindView(R.id.qiulin3)
    LinearLayout qiulin3;
    @BindView(R.id.qiu4)
    TextView qiu4;
    @BindView(R.id.qiulin4)
    LinearLayout qiulin4;
    @BindView(R.id.qiu5)
    TextView qiu5;
    @BindView(R.id.qiulin5)
    LinearLayout qiulin5;
    @BindView(R.id.qiu6)
    TextView qiu6;
    @BindView(R.id.qiulin6)
    LinearLayout qiulin6;
    @BindView(R.id.qiu7)
    TextView qiu7;
    @BindView(R.id.qiulin7)
    LinearLayout qiulin7;
    @BindView(R.id.qiu8)
    TextView qiu8;
    @BindView(R.id.qiulin8)
    LinearLayout qiulin8;
    @BindView(R.id.qiu9)
    TextView qiu9;
    @BindView(R.id.qiulin9)
    LinearLayout qiulin9;
    @BindView(R.id.qiu10)
    TextView qiu10;
    @BindView(R.id.qiulin10)
    LinearLayout qiulin10;
    @BindView(R.id.qiu11)
    TextView qiu11;
    @BindView(R.id.qiulin11)
    LinearLayout qiulin11;
    @BindView(R.id.qiu12)
    TextView qiu12;
    @BindView(R.id.qiulin12)
    LinearLayout qiulin12;
    @BindView(R.id.qiu13)
    TextView qiu13;
    @BindView(R.id.qiulin13)
    LinearLayout qiulin13;
    @BindView(R.id.qiu14)
    TextView qiu14;
    @BindView(R.id.qiulin14)
    LinearLayout qiulin14;
    @BindView(R.id.qiu15)
    TextView qiu15;
    @BindView(R.id.qiulin15)
    LinearLayout qiulin15;
    @BindView(R.id.qiu16)
    TextView qiu16;
    @BindView(R.id.qiulin16)
    LinearLayout qiulin16;
    @BindView(R.id.qiu17)
    TextView qiu17;
    @BindView(R.id.qiulin17)
    LinearLayout qiulin17;
    @BindView(R.id.qiu18)
    TextView qiu18;
    @BindView(R.id.qiulin18)
    LinearLayout qiulin18;
    @BindView(R.id.shifen19)
    TextView shifen19;
    @BindView(R.id.shifenlin19)
    LinearLayout shifenlin19;
    @BindView(R.id.shifen20)
    TextView shifen20;
    @BindView(R.id.shifenlin20)
    LinearLayout shifenlin20;
    @BindView(R.id.shiyiyincang6)
    LinearLayout shiyiyincang6;
    @BindView(R.id.shifenda)
    TextView shifenda;
    @BindView(R.id.shifendas)
    TextView shifendas;
    @BindView(R.id.shifendalin)
    LinearLayout shifendalin;
    @BindView(R.id.shifenxiao)
    TextView shifenxiao;
    @BindView(R.id.shifenxiaos)
    TextView shifenxiaos;
    @BindView(R.id.shifenxiaolin)
    LinearLayout shifenxiaolin;
    @BindView(R.id.shifendan)
    TextView shifendan;
    @BindView(R.id.shifendans)
    TextView shifendans;
    @BindView(R.id.shifendanlin)
    LinearLayout shifendanlin;
    @BindView(R.id.shifenshuang)
    TextView shifenshuang;
    @BindView(R.id.shifenshaungs)
    TextView shifenshaungs;
    @BindView(R.id.shifenshaunglin)
    LinearLayout shifenshaunglin;
    @BindView(R.id.shifenhedan)
    TextView shifenhedan;
    @BindView(R.id.shifenhedans)
    TextView shifenhedans;
    @BindView(R.id.shifenhedanlin)
    LinearLayout shifenhedanlin;
    @BindView(R.id.shifenheshuang)
    TextView shifenheshuang;
    @BindView(R.id.shifenheshuangs)
    TextView shifenheshuangs;
    @BindView(R.id.shifenheshuanglin)
    LinearLayout shifenheshuanglin;
    @BindView(R.id.shifenweida)
    TextView shifenweida;
    @BindView(R.id.shifenweidas)
    TextView shifenweidas;
    @BindView(R.id.shifenweidalin)
    LinearLayout shifenweidalin;
    @BindView(R.id.shiweixiao)
    TextView shiweixiao;
    @BindView(R.id.shiweixiaos)
    TextView shiweixiaos;
    @BindView(R.id.shiweixiaolin)
    LinearLayout shiweixiaolin;
    @BindView(R.id.shifenlong)
    TextView shifenlong;
    @BindView(R.id.shifenlongs)
    TextView shifenlongs;
    @BindView(R.id.shifenlonglin)
    LinearLayout shifenlonglin;
    @BindView(R.id.shifenhu)
    TextView shifenhu;
    @BindView(R.id.shifenhus)
    TextView shifenhus;
    @BindView(R.id.shifenhulin)
    LinearLayout shifenhulin;
    @BindView(R.id.shifendong)
    TextView shifendong;
    @BindView(R.id.shifendongs)
    TextView shifendongs;
    @BindView(R.id.shifendonglin)
    LinearLayout shifendonglin;
    @BindView(R.id.shifennan)
    TextView shifennan;
    @BindView(R.id.shifennans)
    TextView shifennans;
    @BindView(R.id.shifennanlin)
    LinearLayout shifennanlin;
    @BindView(R.id.shifenxi)
    TextView shifenxi;
    @BindView(R.id.shifenxis)
    TextView shifenxis;
    @BindView(R.id.shifenxilin)
    LinearLayout shifenxilin;
    @BindView(R.id.shifenbei)
    TextView shifenbei;
    @BindView(R.id.shifenbeis)
    TextView shifenbeis;
    @BindView(R.id.shifenbeilin)
    LinearLayout shifenbeilin;
    @BindView(R.id.shifenzhong)
    TextView shifenzhong;
    @BindView(R.id.shifenzhongs)
    TextView shifenzhongs;
    @BindView(R.id.shifenzhonglin)
    LinearLayout shifenzhonglin;
    @BindView(R.id.shifenfa)
    TextView shifenfa;
    @BindView(R.id.shifenfas)
    TextView shifenfas;
    @BindView(R.id.shifenfalin)
    LinearLayout shifenfalin;
    @BindView(R.id.shifenbai)
    TextView shifenbai;
    @BindView(R.id.shifenbais)
    TextView shifenbais;
    @BindView(R.id.shifenbailin)
    LinearLayout shifenbailin;
    @BindView(R.id.shiyiyincang7)
    LinearLayout shiyiyincang7;
    @BindView(R.id.qiuxiabanbufen)
    LinearLayout qiuxiabanbufen;
    @BindView(R.id.renxuan1)
    TextView renxuan1;
    @BindView(R.id.renxuan2)
    TextView renxuan2;
    @BindView(R.id.renxuan3)
    TextView renxuan3;
    @BindView(R.id.renxuan4)
    TextView renxuan4;
    @BindView(R.id.renxuan5)
    TextView renxuan5;
    @BindView(R.id.renxuan6)
    TextView renxuan6;
    @BindView(R.id.renxuan7)
    TextView renxuan7;
    @BindView(R.id.renxuan8)
    TextView renxuan8;
    @BindView(R.id.renxuan9)
    TextView renxuan9;
    @BindView(R.id.lianmapeilv)
    TextView lianmapeilv;
    @BindView(R.id.lianma1)
    TextView lianma1;
    @BindView(R.id.lianma1lin)
    LinearLayout lianma1lin;
    @BindView(R.id.lianma2)
    TextView lianma2;
    @BindView(R.id.lianma2lin)
    LinearLayout lianma2lin;
    @BindView(R.id.lianma3)
    TextView lianma3;
    @BindView(R.id.lianma3lin)
    LinearLayout lianma3lin;
    @BindView(R.id.lianma4)
    TextView lianma4;
    @BindView(R.id.lianma4lin)
    LinearLayout lianma4lin;
    @BindView(R.id.lianma5)
    TextView lianma5;
    @BindView(R.id.lianma5lin)
    LinearLayout lianma5lin;
    @BindView(R.id.lianma6)
    TextView lianma6;
    @BindView(R.id.lianma6lin)
    LinearLayout lianma6lin;
    @BindView(R.id.lianma7)
    TextView lianma7;
    @BindView(R.id.lianma7lin)
    LinearLayout lianma7lin;
    @BindView(R.id.lianma8)
    TextView lianma8;
    @BindView(R.id.lianma8lin)
    LinearLayout lianma8lin;
    @BindView(R.id.lianma9)
    TextView lianma9;
    @BindView(R.id.lianma9lin)
    LinearLayout lianma9lin;
    @BindView(R.id.lianma10)
    TextView lianma10;
    @BindView(R.id.lianma10lin)
    LinearLayout lianma10lin;
    @BindView(R.id.lianma11)
    TextView lianma11;
    @BindView(R.id.lianma11lin)
    LinearLayout lianma11lin;
    @BindView(R.id.lianma12)
    TextView lianma12;
    @BindView(R.id.lianma12lin)
    LinearLayout lianma12lin;
    @BindView(R.id.lianma13)
    TextView lianma13;
    @BindView(R.id.lianma13lin)
    LinearLayout lianma13lin;
    @BindView(R.id.lianma14)
    TextView lianma14;
    @BindView(R.id.lianma14lin)
    LinearLayout lianma14lin;
    @BindView(R.id.lianma15)
    TextView lianma15;
    @BindView(R.id.lianma15lin)
    LinearLayout lianma15lin;
    @BindView(R.id.lianma16)
    TextView lianma16;
    @BindView(R.id.lianma16lin)
    LinearLayout lianma16lin;
    @BindView(R.id.lianma17)
    TextView lianma17;
    @BindView(R.id.lianma17lin)
    LinearLayout lianma17lin;
    @BindView(R.id.lianma18)
    TextView lianma18;
    @BindView(R.id.lianma18lin)
    LinearLayout lianma18lin;
    @BindView(R.id.lianma19)
    TextView lianma19;
    @BindView(R.id.lianma19lin)
    LinearLayout lianma19lin;
    @BindView(R.id.lianma20)
    TextView lianma20;
    @BindView(R.id.lianma20lin)
    LinearLayout lianma20lin;
    @BindView(R.id.shiyiyincang8)
    LinearLayout shiyiyincang8;
    @BindView(R.id.lianmalin)
    LinearLayout lianmalin;
    @BindView(R.id.includ_kuaileshifen)
    LinearLayout includKuaileshifen;
    @BindView(R.id.yixuanzhong)
    TextView yixuanzhong;
    @BindView(R.id.touzhued)
    EditText touzhued;
    @BindView(R.id.xiazhubt)
    Button xiazhubt;
    @BindView(R.id.chongzhibt)
    Button chongzhibt;
    @BindView(R.id.xiazhulin)
    LinearLayout xiazhulin;
    @BindView(R.id.ncscro)
    ScrollView ncscro;
    @BindView(R.id.fengpanlin)
    TextView fengpanlin;
    @BindView(R.id.keybord)
    KeyBoardWeight keybord;
    private String gameid;//游戏id
    private String money;//金额
    private String dataid;//期数
    //    private String webvideo;//期数
    private TextView tvmoney;
    private AlertDialog dialog;
    ArrayList<String> thecrownIndex = new ArrayList<>();//选中的集合
    ArrayList<Viewbean> linearLayoutsList = new ArrayList<>();//选中的线性布局
    private Adapter adapter;

    final JSONObject result2 = new JSONObject();
    final JSONObject result = new JSONObject();

    List<String> betBean_Play = new ArrayList<>();
    List<String> betBean_odds = new ArrayList<>();
    List<String> betBean_money = new ArrayList<>();
    List<String> betBean_title = new ArrayList<>();
    List<String> betBean_text = new ArrayList<>();
    List<String> betBean_betinfo = new ArrayList<>();


    private String edmoney;

    public NCragment() {

    }

    @Override
    protected void initDagger() {
        DaggerNCragmentComponent.builder()
                .nCragmentModule(new NCragmentModule(this))
                .build().inject(this);
    }

    @Override
    protected void ChangeSkin() {

    }

    @Override
    protected int setContentView() {
        return R.layout.ncfragment;
    }

    @Override
    public void onViewCreated(@NonNull View view, @Nullable Bundle savedInstanceState) {
        super.onViewCreated(view, savedInstanceState);
        adapter = new Adapter();
        lianmapeilv.setText("");
        if (closeTimeTv.getText().toString().trim().equals("已封盘")) {
            fengpanlin.setVisibility(View.VISIBLE);
            xiazhubt.setEnabled(false);
            chongzhibt.setEnabled(false);
            touzhued.setEnabled(false);
        }

        //输入框处理
//        getActivity().getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_PAN);


        touzhued.setInputType(InputType.TYPE_NULL);
        keybord.init(touzhued, new KeyBoardWeight.Goback() {
            @Override
            public void goback() {
                keybord.setVisibility(View.GONE);
            }
        });
        touzhued.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                keybord.setVisibility(View.VISIBLE);
            }
        });
        touzhued.addTextChangedListener(new TextWatcher() {
            @Override
            public void beforeTextChanged(CharSequence s, int start, int count, int after) {

            }

            @Override
            public void onTextChanged(CharSequence s, int start, int before, int count) {
                if (touzhued.getText().toString().matches("^0")) {//判断当前的输入第一个数是不是为0
                    touzhued.setText("");
                }
            }

            @Override
            public void afterTextChanged(Editable s) {
            }
        });
        chongzhibt.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                for (Viewbean q : linearLayoutsList) {
                    q.linearLayout.setBackgroundResource(R.drawable.betting_backgroud);
                    if (null != q.textView) {
                        q.textView.setTextColor(getContext().getResources().getColor(R.color.blank));
                    }
                    q.textViews.setTextColor(getContext().getResources().getColor(R.color.text_color));
                    thecrownIndex.remove(q + "");
                }
                //清除所有的数据
                thecrownIndex.clear();
                betBean_Play.clear();
                betBean_odds.clear();
                betBean_money.clear();
                betBean_title.clear();
                betBean_text.clear();
                betBean_betinfo.clear();
                yixuanzhong.setText(thecrownIndex.size() + "");
            }
        });
        xiazhubt.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                closeKeyBoard();
                edmoney = touzhued.getText().toString().trim();
                if (TextUtils.isEmpty(edmoney)) {
                    Toast.makeText(getContext(), "请输入投注金额", Toast.LENGTH_SHORT).show();
                } else {
                    long Total_price = Long.parseLong(edmoney) * thecrownIndex.size();
                    if (thecrownIndex.size() != 0 && null != thecrownIndex) {
                        betBean_Play.clear();
                        betBean_money.clear();
                        betBean_betinfo.clear();
                        betBean_odds.clear();
                        betBean_title.clear();
                        betBean_text.clear();
                        for (int i = 0; i < thecrownIndex.size(); i++) {
                            betBean_Play.add(linearLayoutsList.get(Integer.parseInt(thecrownIndex.get(i))).id);
                            betBean_money.add(edmoney);
                            betBean_odds.add(linearLayoutsList.get(Integer.parseInt(thecrownIndex.get(i))).textViews.getText().toString());
                            betBean_title.add(linearLayoutsList.get(Integer.parseInt(thecrownIndex.get(i))).str);
                            if (null != linearLayoutsList.get(Integer.parseInt(thecrownIndex.get(i))).textView) {
                                betBean_text.add(linearLayoutsList.get(Integer.parseInt(thecrownIndex.get(i))).textView.getText().toString());
                                betBean_betinfo.add(linearLayoutsList.get(Integer.parseInt(thecrownIndex.get(i))).textView.getText().toString());
                            }

                        }
                    } else {
                        Toast.makeText(getContext(), "您还没有下注", Toast.LENGTH_SHORT).show();
                    }


                    try {
                        if (!TextUtils.isEmpty(gameid) && !TextUtils.isEmpty(dataid) && thecrownIndex.size() != 0 && Total_price != 0) {
                            if (!TextUtils.isEmpty(lianmapeilv.getText())) {
                                if (linearLayoutsList.get(Integer.parseInt(thecrownIndex.get(0))).str.equals("任选二")
                                        || linearLayoutsList.get(Integer.parseInt(thecrownIndex.get(0))).str.equals("二中二")
                                        || linearLayoutsList.get(Integer.parseInt(thecrownIndex.get(0))).str.equals("任选二组")
                                        || linearLayoutsList.get(Integer.parseInt(thecrownIndex.get(0))).str.equals("前二组选")) {
                                    renxuan2json();
                                } else if (linearLayoutsList.get(Integer.parseInt(thecrownIndex.get(0))).str.equals("任选三") ||
                                        linearLayoutsList.get(Integer.parseInt(thecrownIndex.get(0))).str.equals("三中三")
                                        || linearLayoutsList.get(Integer.parseInt(thecrownIndex.get(0))).str.equals("前三组选")) {
                                    renxuan3json();
                                } else if (linearLayoutsList.get(Integer.parseInt(thecrownIndex.get(0))).str.equals("任选四")
                                        || linearLayoutsList.get(Integer.parseInt(thecrownIndex.get(0))).str.equals("四中四")) {
                                    renxuan4json();
                                } else if (linearLayoutsList.get(Integer.parseInt(thecrownIndex.get(0))).str.equals("任选五")
                                        || linearLayoutsList.get(Integer.parseInt(thecrownIndex.get(0))).str.equals("五中五")
                                        ) {
                                    renxuan5json();
                                } else if (linearLayoutsList.get(Integer.parseInt(thecrownIndex.get(0))).str.equals("七中五")
                                        || linearLayoutsList.get(Integer.parseInt(thecrownIndex.get(0))).str.equals("八中五")
                                        || linearLayoutsList.get(Integer.parseInt(thecrownIndex.get(0))).str.equals("六中五")
                                        ) {
                                    renxuanjson();
                                }
                            } else {
                                result.put("gameId", gameid);
                                result.put("turnNum", dataid);
                                result.put("totalNums", thecrownIndex.size() + "");
                                result.put("totalMoney", Total_price + "");
                                for (int i = 0; i < betBean_Play.size(); i++) {
                                    result.put("betBean_playId[" + i + "]", betBean_Play.get(i));
                                    result.put("betBean_odds[" + i + "]", betBean_odds.get(i));
                                    result.put("betBean_money[" + i + "]", betBean_money.get(i));
                                }
                                SYSOUtils.sOut_("数据" + result);
                            }

                            AlertDialog.Builder builder = new AlertDialog.Builder(getContext());
                            View view = View.inflate(getContext(), R.layout.gamepop_layout, null);
                            RecyclerView game_pop_list = (RecyclerView) view.findViewById(R.id.game_pop_list);
                            TextView game_pop_canclbt = (TextView) view.findViewById(R.id.game_pop_canclbt);
                            TextView game_pop_yesbt = (TextView) view.findViewById(R.id.game_pop_yesbt);
                            TextView poptext1 = (TextView) view.findViewById(R.id.poptext1);
                            TextView poptext2 = (TextView) view.findViewById(R.id.poptext2);
                            LinearLayout lianmalin = (LinearLayout) view.findViewById(R.id.lianmalin);
                            game_pop_list.setLayoutManager(new LinearLayoutManager(getContext()));
                            //创建适配器
                            game_pop_list.setAdapter(adapter);
                            builder.setView(view);
                            dialog = builder.create();
                            dialog.setCancelable(true);//点击外边缘隐藏
                            if (betBean_title.get(0).equals("三中三") || betBean_title.get(0).equals("任选三")) {
                                if (thecrownIndex.size() < 3) {
                                    Toast.makeText(getContext(), "请选择三项才能下注", Toast.LENGTH_SHORT).show();
                                } else {
                                    dialog.show();
                                }
                            } else if (betBean_title.get(0).equals("任选二组") || betBean_title.get(0).equals("任选二")) {
                                if (thecrownIndex.size() < 2) {
                                    Toast.makeText(getContext(), "请选择二项以上才能下注", Toast.LENGTH_SHORT).show();
                                } else {
                                    dialog.show();
                                }
                            } else if (betBean_title.get(0).equals("二中二")) {
                                if (thecrownIndex.size() < 2) {
                                    Toast.makeText(getContext(), "请选择二项才能下注", Toast.LENGTH_SHORT).show();
                                } else {
                                    dialog.show();
                                }
                            } else if (betBean_title.get(0).equals("四中四") || betBean_title.get(0).equals("任选四")) {
                                if (thecrownIndex.size() < 4) {
                                    Toast.makeText(getContext(), "请选择四项才能下注", Toast.LENGTH_SHORT).show();
                                } else {
                                    dialog.show();
                                }
                            } else if (betBean_title.get(0).equals("五中五") || betBean_title.get(0).equals("任选五")) {
                                if (thecrownIndex.size() < 5) {
                                    Toast.makeText(getContext(), "请选择五项才能下注", Toast.LENGTH_SHORT).show();
                                } else {
                                    dialog.show();
                                }
                            } else if (betBean_title.get(0).equals("前二组选")) {
                                if (thecrownIndex.size() < 2 && thecrownIndex.size() < 5) {
                                    Toast.makeText(getContext(), "请选择2-5项才能下注", Toast.LENGTH_SHORT).show();
                                } else {
                                    dialog.show();
                                }
                            } else if (betBean_title.get(0).equals("前三组选")) {
                                if (thecrownIndex.size() < 3 && thecrownIndex.size() < 5) {
                                    Toast.makeText(getContext(), "请选择3-5项才能下注", Toast.LENGTH_SHORT).show();
                                } else {
                                    dialog.show();
                                }
                            } else if (betBean_title.get(0).equals("六中五")) {
                                if (thecrownIndex.size() < 6) {
                                    Toast.makeText(getContext(), "请选择六项才能下注", Toast.LENGTH_SHORT).show();
                                } else {
                                    dialog.show();
                                }
                            } else if (betBean_title.get(0).equals("七中五")) {
                                if (thecrownIndex.size() < 7) {
                                    Toast.makeText(getContext(), "请选择七项才能下注", Toast.LENGTH_SHORT).show();
                                } else {
                                    dialog.show();
                                }
                            } else if (betBean_title.get(0).equals("八中五")) {
                                if (thecrownIndex.size() < 8) {
                                    Toast.makeText(getContext(), "请选择八项才能下注", Toast.LENGTH_SHORT).show();
                                } else {
                                    dialog.show();
                                }
                            } else {
                                dialog.show();
                            }
                            if (betBean_title.get(0).equals("二中二") || betBean_title.get(0).equals("三中三") ||
                                    betBean_title.get(0).equals("四中四") || betBean_title.get(0).equals("五中五") ||
                                    betBean_title.get(0).equals("六中五") || betBean_title.get(0).equals("七中五") ||
                                    betBean_title.get(0).equals("八中五") || betBean_title.get(0).equals("前二组选") ||
                                    betBean_title.get(0).equals("前三组选")) {
                                game_pop_list.setVisibility(View.GONE);
                                lianmalin.setVisibility(View.VISIBLE);
                                String q = "";
                                for (int i = 0; i < thecrownIndex.size(); i++) {
                                    if (TextUtils.isEmpty(q)) {
                                        q = q + " " + betBean_text.get(i);
                                    } else {
                                        q = q + " , " + betBean_text.get(i);
                                    }

                                }
                                poptext1.setText(betBean_title.get(0) + "【" + q + "】");
                                if (betBean_title.get(0).equals("二中二") || betBean_title.get(0).equals("三中三") ||
                                        betBean_title.get(0).equals("四中四") || betBean_title.get(0).equals("五中五") ||
                                        betBean_title.get(0).equals("六中五") || betBean_title.get(0).equals("七中五") ||
                                        betBean_title.get(0).equals("八中五")) {
                                    poptext2.setText("组合数: " + 1 + " 单注金额: " + Long.parseLong(betBean_money.get(0)) + " 总金额: " + Long.parseLong(betBean_money.get(0)));
                                } else if (betBean_title.get(0).equals("前二组选") || betBean_title.get(0).equals("前三组选")) {
                                    if (thecrownIndex.size() == 3) {
                                        if (betBean_title.get(0).equals("前二组选")) {
                                            poptext2.setText("组合数: " + 3 + " 单注金额: " + Long.parseLong(betBean_money.get(0)) + " 总金额: " + 3 * Long.parseLong(betBean_money.get(0)));
                                        } else {
                                            poptext2.setText("组合数: " + 1 + " 单注金额: " + Long.parseLong(betBean_money.get(0)) + " 总金额: " + 1 * Long.parseLong(betBean_money.get(0)));
                                        }

                                    } else if (thecrownIndex.size() == 4) {
                                        if (betBean_title.get(0).equals("前二组选")) {
                                            poptext2.setText("组合数: " + 6 + " 单注金额: " + Long.parseLong(betBean_money.get(0)) + " 总金额: " + 6 * Long.parseLong(betBean_money.get(0)));
                                        } else {
                                            poptext2.setText("组合数: " + 4 + " 单注金额: " + Long.parseLong(betBean_money.get(0)) + " 总金额: " + 4 * Long.parseLong(betBean_money.get(0)));
                                        }
                                    } else if (thecrownIndex.size() == 5) {
                                        poptext2.setText("组合数: " + 10 + " 单注金额: " + Long.parseLong(betBean_money.get(0)) + " 总金额: " + 10 * Long.parseLong(betBean_money.get(0)));
                                    } else {
                                        poptext2.setText("组合数: " + 1 + " 单注金额: " + Long.parseLong(betBean_money.get(0)) + " 总金额: " + 1 * Long.parseLong(betBean_money.get(0)));
                                    }


                                }
                            } else {
                                game_pop_list.setVisibility(View.VISIBLE);
                                lianmalin.setVisibility(View.GONE);
                            }

                            game_pop_canclbt.setOnClickListener(new View.OnClickListener() {
                                @Override
                                public void onClick(View v) {
                                    dialog.dismiss();

                                }
                            });
                            game_pop_yesbt.setOnClickListener(new View.OnClickListener() {
                                @Override
                                public void onClick(View v) {
                                    dialog.dismiss();
                                    if (!TextUtils.isEmpty(lianmapeilv.getText())) {
                                        mPresenter.Betbet(result2.toString(), Info.user.token);
                                    } else {
                                        mPresenter.Betbet(result.toString(), Info.user.token);
                                    }
                                }
                            });

                        } else {
                            Toast.makeText(getContext(), "请选择正确投注内容", Toast.LENGTH_SHORT).show();
                        }

                    } catch (JSONException e) {
                        e.printStackTrace();
                    }
                }

            }
        });
        //获取游戏id
        final FragmentActivity activity = getActivity();
        if (activity != null)

        {
            final GameDetailActivityFinal gameDetailsActivity = (GameDetailActivityFinal) activity;
            gameid = gameDetailsActivity.gameid;
            money = gameDetailsActivity.money;
            tvmoney = gameDetailsActivity.moneyTv;
        }

        if (gameid != null)

        {
//头部
            mPresenter.getgamesdetail(gameid);
            switch (Integer.parseInt(gameid)) {
                case 21:
                    //十一选五
                    includKuaileshifen.setVisibility(View.VISIBLE);
                    kuai8IvLin.setVisibility(View.VISIBLE);
                    kuai8Six.setVisibility(View.GONE);
                    kuai8Seven.setVisibility(View.GONE);
                    kuai8Eight.setVisibility(View.GONE);
                    kuai8Noon.setVisibility(View.GONE);
                    kuai8Ten.setVisibility(View.GONE);
                    ivtext6.setVisibility(View.GONE);
                    ivtext7.setVisibility(View.GONE);
                    ivtext8.setVisibility(View.GONE);
                    shiyiyincang1.setVisibility(View.GONE);
                    shiyiyincang2.setVisibility(View.GONE);
                    shiyiyincang3.setVisibility(View.GONE);
                    shiyiyincang4.setVisibility(View.GONE);
                    shiyiyincang5.setVisibility(View.GONE);
                    shiyiyincang6.setVisibility(View.GONE);
                    shiyiyincang7.setVisibility(View.GONE);
                    shiyiyincang8.setVisibility(View.GONE);
                    longhulin.setVisibility(View.VISIBLE);
                    qiuliangmianbt.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                    qiu6bt.setVisibility(View.GONE);
                    qiu7bt.setVisibility(View.GONE);
                    qiu8bt.setVisibility(View.GONE);
                    lianma12lin.setVisibility(View.GONE);
                    qiulin12.setVisibility(View.GONE);
                    renxuan1.setText("二中二");
                    renxuan2.setText("三中三");
                    renxuan3.setText("四中四");
                    renxuan4.setText("五中五");
                    renxuan5.setVisibility(View.GONE);
                    hu.setText("虎");
                    longt.setText("龙");
                    zongweida.setText("总和尾大");
                    zongweixiao.setText("总和尾小");
                    liangmiantitle.setText("总和、龙虎");
                    mPresenter.getshiyixuanwuddes(gameid, Info.user.token);
                    break;
                case 60:
                    //北京快乐十分
                    mPresenter.getkuaileshifenddes(gameid, Info.user.token);
                    break;

                case 61:
                    //幸运农场
                    mPresenter.getxingyunnongchangddes(gameid, Info.user.token);
                    break;
            }
        }
    }

    private void renxuan5json() {
        try {

            //                                //任选五
            result2.put("gameId", gameid);
            result2.put("turnNum", dataid);
            result2.put("betSrc", "0");
            String a = "";
            for (int i = 0; i < betBean_Play.size(); i++) {
                if (i == thecrownIndex.size()) {
                    a = a + betBean_betinfo.get(i) + "";
                } else {
                    a = a + betBean_betinfo.get(i) + ",";
                }
            }
            String b = a.substring(0, a.length() - 1);
            String[] strarray = b.split(",");
            List<String> list = new ArrayList<>();
            for (int w = 0; w < strarray.length; w++) {
                for (int j = w + 1; j < strarray.length; j++) {
                    for (int h = w + 2; h < strarray.length; h++) {
                        for (int c = w + 3; c < strarray.length; c++) {
                            for (int d = w + 4; d < strarray.length; d++) {
                                if (strarray[w] != strarray[j] && strarray[w] != strarray[h] && strarray[j] != strarray[h]
                                        && strarray[w] != strarray[c] && strarray[j] != strarray[c] && strarray[h] != strarray[c]
                                        && strarray[w] != strarray[d] && strarray[j] != strarray[d] && strarray[h] != strarray[d] && strarray[c] != strarray[d]) {
                                    boolean hascode = false;
                                    for (int oop = 0; oop < list.size(); oop++) {
                                        List<String> ooplist = new ArrayList<>();
                                        ooplist.add((list.get(oop).split(","))[0]);
                                        ooplist.add((list.get(oop).split(","))[1]);
                                        ooplist.add((list.get(oop).split(","))[2]);
                                        ooplist.add((list.get(oop).split(","))[3]);
                                        ooplist.add((list.get(oop).split(","))[4]);
                                        if (ooplist.contains(strarray[d]) && ooplist.contains(strarray[w]) && ooplist.contains(strarray[c]) && ooplist.contains(strarray[j]) && ooplist.contains(strarray[h])) {
                                            hascode = true;
                                        }

                                    }
                                    if (!hascode) {
                                        list.add(strarray[w] + "," + strarray[j] + "," + strarray[h] + "," + strarray[c] + "," + strarray[d]);
                                    }

                                }
                            }
                        }
                    }
                }
            }
            if (poplist != null) {
                poplist.clear();
            }
            poplist = list;
//            adapter.notifyDataSetChanged();
            for (int i = 0; i < list.size(); i++) {
                result2.put("betBean_betinfo[" + i + "]", list.get(i));//改为新类型
                result2.put("betBean_playId[" + i + "]", betBean_Play.get(0));
                result2.put("betBean_odds[" + i + "]", betBean_odds.get(0));
                result2.put("betBean_money[" + i + "]", betBean_money.get(0));
                result2.put("betBean_rebate[" + i + "]", "0");
            }
            result2.put("totalMoney", Long.parseLong(edmoney) * list.size() + "");
            result2.put("totalNums", list.size() + "");
            SYSOUtils.sOut_("数据2" + result2);
        } catch (JSONException e) {
            e.printStackTrace();
        }
    }

    private void renxuan4json() {
        try {

            ////                           //任选四
            result2.put("gameId", gameid);
            result2.put("turnNum", dataid);
            result2.put("betSrc", "0");
            String a = "";
            for (int i = 0; i < betBean_Play.size(); i++) {
                if (i == thecrownIndex.size()) {
                    a = a + betBean_betinfo.get(i) + "";
                } else {
                    a = a + betBean_betinfo.get(i) + ",";
                }
            }
            String b = a.substring(0, a.length() - 1);
            String[] strarray = b.split(",");
            List<String> list = new ArrayList<>();
            for (int w = 0; w < strarray.length; w++) {
                for (int j = w + 1; j < strarray.length; j++) {
                    for (int h = w + 2; h < strarray.length; h++) {
                        for (int c = w + 3; c < strarray.length; c++) {
                            if (strarray[w] != strarray[j] && strarray[w] != strarray[h] && strarray[j] != strarray[h]
                                    && strarray[w] != strarray[c] && strarray[j] != strarray[c] && strarray[h] != strarray[c]) {
                                boolean hascode = false;
                                for (int oop = 0; oop < list.size(); oop++) {
                                    List<String> ooplist = new ArrayList<>();
                                    ooplist.add((list.get(oop).split(","))[0]);
                                    ooplist.add((list.get(oop).split(","))[1]);
                                    ooplist.add((list.get(oop).split(","))[2]);
                                    ooplist.add((list.get(oop).split(","))[3]);
                                    if (ooplist.contains(strarray[w]) && ooplist.contains(strarray[c]) && ooplist.contains(strarray[j]) && ooplist.contains(strarray[h])) {
                                        hascode = true;
                                    }

                                }
                                if (!hascode) {
                                    list.add(strarray[w] + "," + strarray[j] + "," + strarray[h] + "," + strarray[c]);
                                }

                            }
                        }
                    }
                }
            }
            if (poplist != null) {
                poplist.clear();
            }
            poplist = list;
//            adapter.notifyDataSetChanged();
            for (int i = 0; i < list.size(); i++) {
                result2.put("betBean_betinfo[" + i + "]", list.get(i));//改为新类型
                result2.put("betBean_playId[" + i + "]", betBean_Play.get(0));
                result2.put("betBean_odds[" + i + "]", betBean_odds.get(0));
                result2.put("betBean_money[" + i + "]", betBean_money.get(0));
                result2.put("betBean_rebate[" + i + "]", "0");
            }
            result2.put("totalMoney", Long.parseLong(edmoney) * list.size() + "");
            result2.put("totalNums", list.size() + "");

            SYSOUtils.sOut_("数据2" + result2);
//


        } catch (JSONException e) {
            e.printStackTrace();
        }
    }

    private void renxuan3json() {
        // 任选三
        try {
            result2.put("gameId", gameid);
            result2.put("turnNum", dataid);
            result2.put("betSrc", "0");
            String a = "";
            for (int i = 0; i < betBean_Play.size(); i++) {
                if (i == thecrownIndex.size()) {
                    a = a + betBean_betinfo.get(i) + "";
                } else {
                    a = a + betBean_betinfo.get(i) + ",";
                }
            }
            String b = a.substring(0, a.length() - 1);
            String[] strarray = b.split(",");
            List<String> list = new ArrayList<>();
            for (int w = 0; w < strarray.length; w++) {
                for (int j = w + 1; j < strarray.length; j++) {
                    for (int h = w + 2; h < strarray.length; h++) {
                        if (strarray[w] != strarray[j] && strarray[w] != strarray[h] && strarray[j] != strarray[h]) {
                            boolean hascode = false;
                            for (int oop = 0; oop < list.size(); oop++) {
                                List<String> ooplist = new ArrayList<>();
                                ooplist.add((list.get(oop).split(","))[0]);
                                ooplist.add((list.get(oop).split(","))[1]);
                                ooplist.add((list.get(oop).split(","))[2]);
                                if (ooplist.contains(strarray[w]) && ooplist.contains(strarray[j]) && ooplist.contains(strarray[h])) {
                                    hascode = true;
                                }

                            }
                            if (!hascode) {
                                list.add(strarray[w] + "," + strarray[j] + "," + strarray[h]);
                            }

                        }
                    }
                }
            }
            if (poplist != null) {
                poplist.clear();
            }
            poplist = list;
            for (int i = 0; i < list.size(); i++) {
                result2.put("betBean_betinfo[" + i + "]", list.get(i));//改为新类型
                result2.put("betBean_playId[" + i + "]", betBean_Play.get(0));
                result2.put("betBean_odds[" + i + "]", betBean_odds.get(0));
                result2.put("betBean_money[" + i + "]", betBean_money.get(0));
                result2.put("betBean_rebate[" + i + "]", "0");
            }
            result2.put("totalMoney", Long.parseLong(edmoney) * list.size() + "");
            result2.put("totalNums", list.size() + "");
            SYSOUtils.sOut_("数据2" + result2);
        } catch (JSONException e) {
            e.printStackTrace();
        }
    }

    private void renxuan2json() {
        ////任选二和任选两组
        try {
            result2.put("gameId", gameid);
            result2.put("turnNum", dataid);
            result2.put("betSrc", "0");
            String a = "";
            for (int i = 0; i < betBean_Play.size(); i++) {
                if (i == thecrownIndex.size()) {
                    a = a + betBean_betinfo.get(i) + "";
                } else {
                    a = a + betBean_betinfo.get(i) + ",";
                }
            }
            String b = a.substring(0, a.length() - 1);
            String[] strarray = b.split(",");
            List<String> list = new ArrayList<>();
            for (int i = 0; i < poplist.size(); i++) {
            }
            for (int w = 0; w < strarray.length; w++) {
                for (int j = w + 1; j < strarray.length; j++) {
                    list.add(strarray[w] + "," + strarray[j]);
                }
            }
            if (poplist != null) {
                poplist.clear();
            }
            poplist = list;

            for (int i = 0; i < list.size(); i++) {
                result2.put("betBean_betinfo[" + i + "]", list.get(i));//改为新类型
                result2.put("betBean_playId[" + i + "]", betBean_Play.get(0));
                result2.put("betBean_odds[" + i + "]", betBean_odds.get(0));
                result2.put("betBean_money[" + i + "]", betBean_money.get(0));
                result2.put("betBean_rebate[" + i + "]", "0");
            }
            result2.put("totalMoney", Long.parseLong(edmoney) * list.size() + "");
            result2.put("totalNums", list.size() + "");
            SYSOUtils.sOut_("数据2222222222222222222222" + result2);
        } catch (JSONException e) {
            e.printStackTrace();
        }

    }

    private void renxuanjson() {
        try {
            result2.put("gameId", gameid);
            result2.put("turnNum", dataid);
            result2.put("betSrc", "0");
            String a = "";
            for (int i = 0; i < betBean_Play.size(); i++) {
                if (i == thecrownIndex.size()) {
                    a = a + betBean_betinfo.get(i) + "";
                } else {
                    a = a + betBean_betinfo.get(i) + ",";
                }
            }
            String b = a.substring(0, a.length() - 1);
            result2.put("betBean_betinfo[" + 0 + "]", b + "");//改为新类型
            result2.put("betBean_playId[" + 0 + "]", betBean_Play.get(0));
            result2.put("betBean_odds[" + 0 + "]", betBean_odds.get(0));
            result2.put("betBean_money[" + 0 + "]", betBean_money.get(0));
            result2.put("betBean_rebate[" + 0 + "]", "0");
//            }
            result2.put("totalMoney", Long.parseLong(edmoney));
            result2.put("totalNums", 1 + "");
            SYSOUtils.sOut_("数据7" + result2);
        } catch (JSONException e) {
            e.printStackTrace();
        }

    }

    //快乐十分
    public void guangdongkuaileshifen(ResGameDetails resGameDetails) {
        GameDetailActivityFinal.webvideo = resGameDetails.data.videoUrl;
        dataid = String.valueOf(resGameDetails.data.issue);
        kuai8UpTv.setText(resGameDetails.data.preIssue + "期");
        periodDownTv.setText(resGameDetails.data.issue + "期");
        startleftTime(resGameDetails.data.endTime, resGameDetails.data.serverTime);
        startrightTime(resGameDetails.data.lotteryTime, resGameDetails.data.serverTime, 1);
        String[] strarray = resGameDetails.data.preNum.split(",");
        kuai8One.setText(strarray[0]);
        kuai8Two.setText(strarray[1]);
        kuai8Three.setText(strarray[2]);
        kuai8Four.setText(strarray[3]);
        kuai8Fiv.setText(strarray[4]);
        kuai8Six.setText(strarray[5]);
        kuai8Seven.setText(strarray[6]);
        kuai8Eight.setText(strarray[7]);
        kuai8Noon.setVisibility(View.GONE);
        kuai8Ten.setVisibility(View.GONE);

        int a1 = Integer.parseInt(strarray[0]) + Integer.parseInt(strarray[1]) + Integer.parseInt(strarray[2]) + Integer.parseInt(strarray[3]) +
                Integer.parseInt(strarray[4]) + Integer.parseInt(strarray[5]) + Integer.parseInt(strarray[6]) + Integer.parseInt(strarray[7]);

        ivtext1.setText(a1 + "");
        if (a1 > 84) {
            ivtext2.setText("大");
        } else if (a1 == 84) {
            ivtext2.setText("和");
        } else {
            ivtext2.setText("小");
        }
        ivtext3.setText(a1 % 2 == 0 ? "双" : "单");
        ivtext4.setText(a1 % 10 > 4 ? "大" : "小");
        ivtext5.setVisibility(View.GONE);
        ivtext6.setVisibility(View.GONE);
        ivtext7.setVisibility(View.GONE);
        ivtext8.setVisibility(View.GONE);
        if (!TextUtils.isEmpty(resGameDetails.data.issue.toString()) && !TextUtils.isEmpty(resGameDetails.data.preIssue.toString())) {
            long b = Long.parseLong(resGameDetails.data.issue.toString()) - Long.parseLong(resGameDetails.data.preIssue.toString());
            if (b != 1 && b < 3) {
                mPresenter.getgamesdetail1(gameid);
                return;
            }
        }
        //请求余额刷新
        if (null != Info.user) {
            mPresenter.getmoney(Info.user.token);
        }
    }

    //快乐十分
    public void guangdongkuaileshifen1(ResGameDetails resGameDetails) {
        GameDetailActivityFinal.webvideo = resGameDetails.data.videoUrl;
//        webvideo = resGameDetails.data.videoUrl;
        dataid = String.valueOf(resGameDetails.data.issue);
        kuai8UpTv.setText(resGameDetails.data.preIssue + "期");
        periodDownTv.setText(resGameDetails.data.issue + "期");
        if (!TextUtils.isEmpty(resGameDetails.data.issue.toString()) && !TextUtils.isEmpty(resGameDetails.data.preIssue.toString())) {
            long b = Long.parseLong(resGameDetails.data.issue.toString()) - Long.parseLong(resGameDetails.data.preIssue.toString());
            if (b != 1 && b < 3) {
                if (timer1 != null) {
                    timer1.cancel();
                    timer1 = null;
                }
                if (timer2 != null) {
                    timer2.cancel();
                    timer2 = null;
                }
                mPresenter.getgamesdetail(gameid);
                return;
            }
        }
        String[] strarray = resGameDetails.data.preNum.split(",");
        kuai8One.setText(strarray[0]);
        kuai8Two.setText(strarray[1]);
        kuai8Three.setText(strarray[2]);
        kuai8Four.setText(strarray[3]);
        kuai8Fiv.setText(strarray[4]);
        kuai8Six.setText(strarray[5]);
        kuai8Seven.setText(strarray[6]);
        kuai8Eight.setText(strarray[7]);
        kuai8Noon.setVisibility(View.GONE);
        kuai8Ten.setVisibility(View.GONE);
        int a1 = Integer.parseInt(strarray[0]) + Integer.parseInt(strarray[1]) + Integer.parseInt(strarray[2]) + Integer.parseInt(strarray[3]) +
                Integer.parseInt(strarray[4]) + Integer.parseInt(strarray[5]) + Integer.parseInt(strarray[6]) + Integer.parseInt(strarray[7]);
        ivtext1.setText(a1 + "");
        if (a1 > 84) {
            ivtext2.setText("大");
        } else if (a1 == 84) {
            ivtext2.setText("和");
        } else {
            ivtext2.setText("小");
        }
        ivtext3.setText(a1 % 2 == 0 ? "双" : "单");
        ivtext4.setText(a1 % 10 > 4 ? "大" : "小");
        ivtext5.setVisibility(View.GONE);
        ivtext6.setVisibility(View.GONE);
        ivtext7.setVisibility(View.GONE);
        ivtext8.setVisibility(View.GONE);
    }

    //按钮颜色
    private void bttextsetcolor() {
        qiuliangmianbt.setTextColor(getContext().getResources().getColor(R.color.blank));
        qiu1bt.setTextColor(getContext().getResources().getColor(R.color.blank));
        qiu2bt.setTextColor(getContext().getResources().getColor(R.color.blank));
        qiu3bt.setTextColor(getContext().getResources().getColor(R.color.blank));
        qiu4bt.setTextColor(getContext().getResources().getColor(R.color.blank));
        qiu5bt.setTextColor(getContext().getResources().getColor(R.color.blank));
        qiu6bt.setTextColor(getContext().getResources().getColor(R.color.blank));
        qiu7bt.setTextColor(getContext().getResources().getColor(R.color.blank));
        qiu8bt.setTextColor(getContext().getResources().getColor(R.color.blank));
        qiulianmabt.setTextColor(getContext().getResources().getColor(R.color.blank));
        renxuan1.setTextColor(getContext().getResources().getColor(R.color.blank));
        renxuan2.setTextColor(getContext().getResources().getColor(R.color.blank));
        renxuan3.setTextColor(getContext().getResources().getColor(R.color.blank));
        renxuan4.setTextColor(getContext().getResources().getColor(R.color.blank));
        renxuan5.setTextColor(getContext().getResources().getColor(R.color.blank));
        renxuan6.setTextColor(getContext().getResources().getColor(R.color.blank));
        renxuan7.setTextColor(getContext().getResources().getColor(R.color.blank));
        renxuan8.setTextColor(getContext().getResources().getColor(R.color.blank));
        renxuan9.setTextColor(getContext().getResources().getColor(R.color.blank));

        qiuliangmianbt.setBackgroundColor(getContext().getResources().getColor(R.color.gamebackground));
        qiu1bt.setBackgroundColor(getContext().getResources().getColor(R.color.gamebackground));
        qiu2bt.setBackgroundColor(getContext().getResources().getColor(R.color.gamebackground));
        qiu3bt.setBackgroundColor(getContext().getResources().getColor(R.color.gamebackground));
        qiu4bt.setBackgroundColor(getContext().getResources().getColor(R.color.gamebackground));
        qiu5bt.setBackgroundColor(getContext().getResources().getColor(R.color.gamebackground));
        qiu6bt.setBackgroundColor(getContext().getResources().getColor(R.color.gamebackground));
        qiu7bt.setBackgroundColor(getContext().getResources().getColor(R.color.gamebackground));
        qiu8bt.setBackgroundColor(getContext().getResources().getColor(R.color.gamebackground));
        qiulianmabt.setBackgroundColor(getContext().getResources().getColor(R.color.gamebackground));
        renxuan1.setBackgroundColor(getContext().getResources().getColor(R.color.gamebackground));
        renxuan2.setBackgroundColor(getContext().getResources().getColor(R.color.gamebackground));
        renxuan3.setBackgroundColor(getContext().getResources().getColor(R.color.gamebackground));
        renxuan4.setBackgroundColor(getContext().getResources().getColor(R.color.gamebackground));
        renxuan5.setBackgroundColor(getContext().getResources().getColor(R.color.gamebackground));
        renxuan6.setBackgroundColor(getContext().getResources().getColor(R.color.gamebackground));
        renxuan7.setBackgroundColor(getContext().getResources().getColor(R.color.gamebackground));
        renxuan8.setBackgroundColor(getContext().getResources().getColor(R.color.gamebackground));
        renxuan9.setBackgroundColor(getContext().getResources().getColor(R.color.gamebackground));

        Drawable img = qiuliangmianbt.getResources().getDrawable(R.mipmap.graydots);
// 调用setCompoundDrawables时，必须调用Drawable.setBounds()方法,否则图片不显示
        img.setBounds(0, 0, img.getMinimumWidth(), img.getMinimumHeight());
        qiuliangmianbt.setCompoundDrawables(img, null, null, null);
        qiu1bt.setCompoundDrawables(img, null, null, null);
        qiu2bt.setCompoundDrawables(img, null, null, null);
        qiu3bt.setCompoundDrawables(img, null, null, null);
        qiu4bt.setCompoundDrawables(img, null, null, null);
        qiu5bt.setCompoundDrawables(img, null, null, null);
        qiu6bt.setCompoundDrawables(img, null, null, null);
        qiu7bt.setCompoundDrawables(img, null, null, null);
        qiu8bt.setCompoundDrawables(img, null, null, null);
        qiulianmabt.setCompoundDrawables(img, null, null, null);
        qiuliangmianbt.setCompoundDrawables(img, null, null, null);
        qiuliangmianbt.setCompoundDrawables(img, null, null, null);
        qiuliangmianbt.setCompoundDrawables(img, null, null, null);
        qiuliangmianbt.setCompoundDrawables(img, null, null, null);
        qiuliangmianbt.setCompoundDrawables(img, null, null, null);
        qiuliangmianbt.setCompoundDrawables(img, null, null, null);
        qiuliangmianbt.setCompoundDrawables(img, null, null, null);


    }

    public void chongzhi() {
        for (Viewbean q : linearLayoutsList) {
            q.linearLayout.setBackgroundResource(R.drawable.betting_backgroud);
            if (null != q.textView) {
                q.textView.setTextColor(getContext().getResources().getColor(R.color.blank));
            }
            if (null != q.textViews) {
                q.textViews.setTextColor(getContext().getResources().getColor(R.color.text_color));
            }
            thecrownIndex.remove(q + "");
        }
        thecrownIndex.clear();
        SYSOUtils.sOut_("++++++++++++++++++++++++++++++++++++++++++++++++++++++++4");
        yixuanzhong.setText(thecrownIndex.size() + "");
    }

    //按钮切换，清除界面效果
    private void clearview() {

        qiu1.setTextColor(getContext().getResources().getColor(R.color.blank));
        qiu1.setTextColor(getContext().getResources().getColor(R.color.blank));
        qiu2.setTextColor(getContext().getResources().getColor(R.color.blank));
        qiu3.setTextColor(getContext().getResources().getColor(R.color.blank));
        qiu4.setTextColor(getContext().getResources().getColor(R.color.blank));
        qiu5.setTextColor(getContext().getResources().getColor(R.color.blank));
        qiu6.setTextColor(getContext().getResources().getColor(R.color.blank));
        qiu7.setTextColor(getContext().getResources().getColor(R.color.blank));
        qiu8.setTextColor(getContext().getResources().getColor(R.color.blank));
        qiu9.setTextColor(getContext().getResources().getColor(R.color.blank));
        qiu10.setTextColor(getContext().getResources().getColor(R.color.blank));
        qiu11.setTextColor(getContext().getResources().getColor(R.color.blank));
        qiu12.setTextColor(getContext().getResources().getColor(R.color.blank));
        qiu13.setTextColor(getContext().getResources().getColor(R.color.blank));
        qiu14.setTextColor(getContext().getResources().getColor(R.color.blank));
        qiu15.setTextColor(getContext().getResources().getColor(R.color.blank));
        qiu16.setTextColor(getContext().getResources().getColor(R.color.blank));
        qiu17.setTextColor(getContext().getResources().getColor(R.color.blank));
        qiu18.setTextColor(getContext().getResources().getColor(R.color.blank));
        shifen19.setTextColor(getContext().getResources().getColor(R.color.blank));
        shifen20.setTextColor(getContext().getResources().getColor(R.color.blank));
        shifendas.setTextColor(getContext().getResources().getColor(R.color.blank));
        shifenxiaos.setTextColor(getContext().getResources().getColor(R.color.blank));
        shifendans.setTextColor(getContext().getResources().getColor(R.color.blank));
        shifenshaungs.setTextColor(getContext().getResources().getColor(R.color.blank));
        shifenhedans.setTextColor(getContext().getResources().getColor(R.color.blank));
        shifenheshuangs.setTextColor(getContext().getResources().getColor(R.color.blank));
        shifenweidas.setTextColor(getContext().getResources().getColor(R.color.blank));
        shiweixiaos.setTextColor(getContext().getResources().getColor(R.color.blank));
        shifenlongs.setTextColor(getContext().getResources().getColor(R.color.blank));
        shifenhus.setTextColor(getContext().getResources().getColor(R.color.blank));
        shifendongs.setTextColor(getContext().getResources().getColor(R.color.blank));
        shifennans.setTextColor(getContext().getResources().getColor(R.color.blank));
        shifenxis.setTextColor(getContext().getResources().getColor(R.color.blank));
        shifenbeis.setTextColor(getContext().getResources().getColor(R.color.blank));
        shifenzhongs.setTextColor(getContext().getResources().getColor(R.color.blank));
        shifenfas.setTextColor(getContext().getResources().getColor(R.color.blank));
        shifenbais.setTextColor(getContext().getResources().getColor(R.color.blank));
        qiulin1.setBackgroundResource(R.drawable.betting_backgroud);
        qiulin2.setBackgroundResource(R.drawable.betting_backgroud);
        qiulin3.setBackgroundResource(R.drawable.betting_backgroud);
        qiulin4.setBackgroundResource(R.drawable.betting_backgroud);
        qiulin5.setBackgroundResource(R.drawable.betting_backgroud);
        qiulin6.setBackgroundResource(R.drawable.betting_backgroud);
        qiulin7.setBackgroundResource(R.drawable.betting_backgroud);
        qiulin8.setBackgroundResource(R.drawable.betting_backgroud);
        qiulin9.setBackgroundResource(R.drawable.betting_backgroud);
        qiulin10.setBackgroundResource(R.drawable.betting_backgroud);
        qiulin11.setBackgroundResource(R.drawable.betting_backgroud);
        qiulin12.setBackgroundResource(R.drawable.betting_backgroud);
        qiulin13.setBackgroundResource(R.drawable.betting_backgroud);
        qiulin14.setBackgroundResource(R.drawable.betting_backgroud);
        qiulin15.setBackgroundResource(R.drawable.betting_backgroud);
        qiulin16.setBackgroundResource(R.drawable.betting_backgroud);
        qiulin17.setBackgroundResource(R.drawable.betting_backgroud);
        qiulin18.setBackgroundResource(R.drawable.betting_backgroud);
        shifenlin19.setBackgroundResource(R.drawable.betting_backgroud);
        shifenlin20.setBackgroundResource(R.drawable.betting_backgroud);
        shifendalin.setBackgroundResource(R.drawable.betting_backgroud);
        shifenxiaolin.setBackgroundResource(R.drawable.betting_backgroud);
        shifendanlin.setBackgroundResource(R.drawable.betting_backgroud);
        shifenshaunglin.setBackgroundResource(R.drawable.betting_backgroud);
        shifenhedanlin.setBackgroundResource(R.drawable.betting_backgroud);
        shifenheshuanglin.setBackgroundResource(R.drawable.betting_backgroud);
        shifenweidalin.setBackgroundResource(R.drawable.betting_backgroud);
        shifenlonglin.setBackgroundResource(R.drawable.betting_backgroud);
        shifendonglin.setBackgroundResource(R.drawable.betting_backgroud);
        shifennanlin.setBackgroundResource(R.drawable.betting_backgroud);
        shifenxilin.setBackgroundResource(R.drawable.betting_backgroud);
        shifenbeilin.setBackgroundResource(R.drawable.betting_backgroud);
        shifenzhonglin.setBackgroundResource(R.drawable.betting_backgroud);
        shifenfalin.setBackgroundResource(R.drawable.betting_backgroud);
        shifenbailin.setBackgroundResource(R.drawable.betting_backgroud);
        shifenxiaolin.setBackgroundResource(R.drawable.betting_backgroud);
        shifenhulin.setBackgroundResource(R.drawable.betting_backgroud);

    }


    /**
     * 幸运农场
     *
     * @param listdata
     */
    public void setxingyunnongchangddes(final Resxingyunnongchang.DataBean listdata) {
        bttextsetcolor();
        final Drawable img = qiuliangmianbt.getResources().getDrawable(R.mipmap.whitedots);
// 调用setCompoundDrawables时，必须调用Drawable.setBounds()方法,否则图片不显示
        img.setBounds(0, 0, img.getMinimumWidth(), img.getMinimumHeight());
        qiuliangmianbt.setCompoundDrawables(img, null, null, null);
        qiuliangmianbt.setTextColor(getContext().getResources().getColor(R.color.settingbg));
        qiuliangmianbt.setBackgroundColor(getContext().getResources().getColor(R.color.text_color2));
        //左侧按钮在这里处理了
        qiuliangmianbt.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                qiuliangmianlin.setVisibility(View.VISIBLE);
                qiuxiabanbufen.setVisibility(View.GONE);
                lianmalin.setVisibility(View.GONE);
                bttextsetcolor();
                chongzhi();
//                lianmapeilv.setText("");
                qiuliangmianbt.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                qiuliangmianbt.setCompoundDrawables(img, null, null, null);
                qiuliangmianbt.setBackgroundColor(getContext().getResources().getColor(R.color.text_color2));
            }
        });
        qiu1bt.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                ncscro.fullScroll(ScrollView.FOCUS_UP);
                qiuliangmianlin.setVisibility(View.GONE);
                qiuxiabanbufen.setVisibility(View.VISIBLE);
                qiutitle.setText("第一球");
                di5longhu.setVisibility(View.VISIBLE);
                lianmapeilv.setText("");
                lianmalin.setVisibility(View.GONE);
                bttextsetcolor();
                qiu1bt.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                qiu1bt.setBackgroundColor(getContext().getResources().getColor(R.color.text_color2));
                qiu1bt.setCompoundDrawables(img, null, null, null);
                qiu1.setText(listdata._$6143937);
                qiu2.setText(listdata._$6143938);
                qiu3.setText(listdata._$6143939);
                qiu4.setText(listdata._$6143940);
                qiu5.setText(listdata._$6143941);
                qiu6.setText(listdata._$6143942);
                qiu7.setText(listdata._$6143943);
                qiu8.setText(listdata._$6143944);
                qiu9.setText(listdata._$6143945);
                qiu10.setText(listdata._$6143946);
                qiu11.setText(listdata._$6143947);
                qiu12.setText(listdata._$6143948);
                qiu13.setText(listdata._$6143949);
                qiu14.setText(listdata._$6143950);
                qiu15.setText(listdata._$6143951);
                qiu16.setText(listdata._$6143952);
                qiu17.setText(listdata._$6143953);
                qiu18.setText(listdata._$6143954);
                shifen19.setText(listdata._$6143955);
                shifen20.setText(listdata._$6143956);
                shifendas.setText(listdata._$6143957);
                shifenxiaos.setText(listdata._$6143958);
                shifendans.setText(listdata._$6143959);
                shifenshaungs.setText(listdata._$6143960);
                shifenhedans.setText(listdata._$6143961);
                shifenheshuangs.setText(listdata._$6143962);
                shifenweidas.setText(listdata._$6143963);
                shiweixiaos.setText(listdata._$6143964);
                shifenlongs.setText(listdata._$6143965);
                shifenhus.setText(listdata._$6143966);
                shifendongs.setText(listdata._$6143967);
                shifennans.setText(listdata._$6143968);
                shifenxis.setText(listdata._$6143969);
                shifenbeis.setText(listdata._$6143970);
                shifenzhongs.setText(listdata._$6143971);
                shifenfas.setText(listdata._$6143972);
                shifenbais.setText(listdata._$6143973);
                linearLayoutsList.add(new Viewbean(qiulin1, qiu1, qiu1, "第一球", "6143937"));
                linearLayoutsList.add(new Viewbean(qiulin2, qiu2, qiu2, "第一球", "6143938"));
                linearLayoutsList.add(new Viewbean(qiulin3, qiu3, qiu3, "第一球", "6143939"));
                linearLayoutsList.add(new Viewbean(qiulin4, qiu4, qiu4, "第一球", "6143940"));
                linearLayoutsList.add(new Viewbean(qiulin5, qiu5, qiu5, "第一球", "6143941"));
                linearLayoutsList.add(new Viewbean(qiulin6, qiu6, qiu6, "第一球", "6143942"));
                linearLayoutsList.add(new Viewbean(qiulin7, qiu7, qiu7, "第一球", "6143943"));
                linearLayoutsList.add(new Viewbean(qiulin8, qiu8, qiu8, "第一球", "6143944"));
                linearLayoutsList.add(new Viewbean(qiulin9, qiu9, qiu9, "第一球", "6143945"));
                linearLayoutsList.add(new Viewbean(qiulin10, qiu10, qiu10, "第一球", "6143946"));
                linearLayoutsList.add(new Viewbean(qiulin11, qiu11, qiu11, "第一球", "6143947"));
                linearLayoutsList.add(new Viewbean(qiulin12, qiu12, qiu12, "第一球", "6143948"));
                linearLayoutsList.add(new Viewbean(qiulin13, qiu13, qiu13, "第一球", "6143949"));
                linearLayoutsList.add(new Viewbean(qiulin14, qiu14, qiu14, "第一球", "6143950"));
                linearLayoutsList.add(new Viewbean(qiulin15, qiu15, qiu15, "第一球", "6143951"));
                linearLayoutsList.add(new Viewbean(qiulin16, qiu16, qiu16, "第一球", "6143952"));
                linearLayoutsList.add(new Viewbean(qiulin17, qiu17, qiu17, "第一球", "6143953"));
                linearLayoutsList.add(new Viewbean(qiulin18, qiu18, qiu18, "第一球", "6143954"));
                linearLayoutsList.add(new Viewbean(shifenlin19, shifen19, shifen19, "第一球", "6143955"));
                linearLayoutsList.add(new Viewbean(shifenlin20, shifen20, shifen20, "第一球", "6143956"));
                linearLayoutsList.add(new Viewbean(shifendalin, shifenda, shifendas, "第一球", "6143957"));
                linearLayoutsList.add(new Viewbean(shifenxiaolin, shifenxiao, shifenxiaos, "第一球", "6143958"));
                linearLayoutsList.add(new Viewbean(shifendanlin, shifendan, shifendans, "第一球", "6143959"));
                linearLayoutsList.add(new Viewbean(shifenshaunglin, shifenshuang, shifenshaungs, "第一球", "6143960"));
                linearLayoutsList.add(new Viewbean(shifenhedanlin, shifenhedan, shifenhedans, "第一球", "6143961"));
                linearLayoutsList.add(new Viewbean(shifenheshuanglin, shifenheshuang, shifenheshuangs, "第一球", "6143962"));
                linearLayoutsList.add(new Viewbean(shifenweidalin, shifenweida, shifenweidas, "第一球", "6143963"));
                linearLayoutsList.add(new Viewbean(shiweixiaolin, shiweixiao, shiweixiaos, "第一球", "6143964"));
                linearLayoutsList.add(new Viewbean(shifenlonglin, shifenlong, shifenlongs, "第一球", "6143965"));
                linearLayoutsList.add(new Viewbean(shifenhulin, shifenhu, shifenhus, "第一球", "6143966"));
                linearLayoutsList.add(new Viewbean(shifendonglin, shifendong, shifendongs, "第一球", "6143967"));
                linearLayoutsList.add(new Viewbean(shifennanlin, shifennan, shifennans, "第一球", "6143968"));
                linearLayoutsList.add(new Viewbean(shifenxilin, shifenxi, shifenxis, "第一球", "6143969"));
                linearLayoutsList.add(new Viewbean(shifenbeilin, shifenbei, shifenbeis, "第一球", "6143970"));
                linearLayoutsList.add(new Viewbean(shifenzhonglin, shifenzhong, shifenzhongs, "第一球", "6143971"));
                linearLayoutsList.add(new Viewbean(shifenfalin, shifenfa, shifenfas, "第一球", "6143972"));
                linearLayoutsList.add(new Viewbean(shifenbailin, shifenbai, shifenbais, "第一球", "6143973"));
                textcolorlist();
                chongzhi();

            }
        });
        qiu2bt.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                ncscro.fullScroll(ScrollView.FOCUS_UP);
                qiuliangmianlin.setVisibility(View.GONE);
                qiuxiabanbufen.setVisibility(View.VISIBLE);
                qiutitle.setText("第二球");
                lianmalin.setVisibility(View.GONE);
                bttextsetcolor();
                di5longhu.setVisibility(View.VISIBLE);
                lianmapeilv.setText("");
                qiu2bt.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                qiu2bt.setBackgroundColor(getContext().getResources().getColor(R.color.text_color2));
                qiu2bt.setCompoundDrawables(img, null, null, null);
                qiu1.setText(listdata._$6144974);
                qiu2.setText(listdata._$6144975);
                qiu3.setText(listdata._$6144976);
                qiu4.setText(listdata._$6144977);
                qiu5.setText(listdata._$6144978);
                qiu6.setText(listdata._$6144979);
                qiu7.setText(listdata._$6144980);
                qiu8.setText(listdata._$6144981);
                qiu9.setText(listdata._$6144982);
                qiu10.setText(listdata._$6144983);
                qiu11.setText(listdata._$6144984);
                qiu12.setText(listdata._$6144985);
                qiu13.setText(listdata._$6144986);
                qiu14.setText(listdata._$6144987);
                qiu15.setText(listdata._$6144988);
                qiu16.setText(listdata._$6144989);
                qiu17.setText(listdata._$6144990);
                qiu18.setText(listdata._$6144991);
                shifen19.setText(listdata._$6144992);
                shifen20.setText(listdata._$6144993);
                shifendas.setText(listdata._$6144994);
                shifenxiaos.setText(listdata._$6144995);
                shifendans.setText(listdata._$6144996);
                shifenshaungs.setText(listdata._$6144997);
                shifenhedans.setText(listdata._$6144998);
                shifenheshuangs.setText(listdata._$6144999);
                shifenweidas.setText(listdata._$61441000);
                shiweixiaos.setText(listdata._$61441001);
                shifenlongs.setText(listdata._$61441002);
                shifenhus.setText(listdata._$61441003);
                shifendongs.setText(listdata._$61441004);
                shifennans.setText(listdata._$61441005);
                shifenxis.setText(listdata._$61441006);
                shifenbeis.setText(listdata._$61441007);
                shifenzhongs.setText(listdata._$61441008);
                shifenfas.setText(listdata._$61441009);
                shifenbais.setText(listdata._$61441010);
                linearLayoutsList.add(new Viewbean(qiulin1, qiu1, qiu1, "第二球", "6144974"));
                linearLayoutsList.add(new Viewbean(qiulin2, qiu2, qiu2, "第二球", "6144975"));
                linearLayoutsList.add(new Viewbean(qiulin3, qiu3, qiu3, "第二球", "6144976"));
                linearLayoutsList.add(new Viewbean(qiulin4, qiu4, qiu4, "第二球", "6144977"));
                linearLayoutsList.add(new Viewbean(qiulin5, qiu5, qiu5, "第二球", "6144978"));
                linearLayoutsList.add(new Viewbean(qiulin6, qiu6, qiu6, "第二球", "6144979"));
                linearLayoutsList.add(new Viewbean(qiulin7, qiu7, qiu7, "第二球", "6144980"));
                linearLayoutsList.add(new Viewbean(qiulin8, qiu8, qiu8, "第二球", "6144981"));
                linearLayoutsList.add(new Viewbean(qiulin9, qiu9, qiu9, "第二球", "6144982"));
                linearLayoutsList.add(new Viewbean(qiulin10, qiu10, qiu10, "第二球", "6144983"));
                linearLayoutsList.add(new Viewbean(qiulin11, qiu11, qiu11, "第二球", "6144984"));
                linearLayoutsList.add(new Viewbean(qiulin12, qiu12, qiu12, "第二球", "6144985"));
                linearLayoutsList.add(new Viewbean(qiulin13, qiu13, qiu13, "第二球", "6144986"));
                linearLayoutsList.add(new Viewbean(qiulin14, qiu14, qiu14, "第二球", "6144987"));
                linearLayoutsList.add(new Viewbean(qiulin15, qiu15, qiu15, "第二球", "6144988"));
                linearLayoutsList.add(new Viewbean(qiulin16, qiu16, qiu16, "第二球", "6144989"));
                linearLayoutsList.add(new Viewbean(qiulin17, qiu17, qiu17, "第二球", "6144990"));
                linearLayoutsList.add(new Viewbean(qiulin18, qiu18, qiu18, "第二球", "6144991"));
                linearLayoutsList.add(new Viewbean(shifenlin19, shifen19, shifen19, "第二球", "6144992"));
                linearLayoutsList.add(new Viewbean(shifenlin20, shifen20, shifen20, "第二球", "6144993"));
                linearLayoutsList.add(new Viewbean(shifendalin, shifenda, shifendas, "第二球", "6144994"));
                linearLayoutsList.add(new Viewbean(shifenxiaolin, shifenxiao, shifenxiaos, "第二球", "6144995"));
                linearLayoutsList.add(new Viewbean(shifendanlin, shifendan, shifendans, "第二球", "6144996"));
                linearLayoutsList.add(new Viewbean(shifenshaunglin, shifenshuang, shifenshaungs, "第二球", "6144997"));
                linearLayoutsList.add(new Viewbean(shifenhedanlin, shifenhedan, shifenhedans, "第二球", "6144998"));
                linearLayoutsList.add(new Viewbean(shifenheshuanglin, shifenheshuang, shifenheshuangs, "第二球", "6144999"));
                linearLayoutsList.add(new Viewbean(shifenweidalin, shifenweida, shifenweidas, "第二球", "61441000"));
                linearLayoutsList.add(new Viewbean(shiweixiaolin, shiweixiao, shiweixiaos, "第二球", "61441001"));

                linearLayoutsList.add(new Viewbean(shifenlonglin, shifenlong, shifenlongs, "第二球", "61441002"));
                linearLayoutsList.add(new Viewbean(shifenhulin, shifenhu, shifenhus, "第二球", "61441003"));

                linearLayoutsList.add(new Viewbean(shifendonglin, shifendong, shifendongs, "第二球", "61441004"));
                linearLayoutsList.add(new Viewbean(shifennanlin, shifennan, shifennans, "第二球", "61441005"));
                linearLayoutsList.add(new Viewbean(shifenxilin, shifenxi, shifenxis, "第二球", "61441006"));
                linearLayoutsList.add(new Viewbean(shifenbeilin, shifenbei, shifenbeis, "第二球", "61441007"));
                linearLayoutsList.add(new Viewbean(shifenzhonglin, shifenzhong, shifenzhongs, "第二球", "61441008"));
                linearLayoutsList.add(new Viewbean(shifenfalin, shifenfa, shifenfas, "第二球", "61441009"));
                linearLayoutsList.add(new Viewbean(shifenbailin, shifenbai, shifenbais, "第二球", "61441010"));
                textcolorlist();
                chongzhi();
            }
        });
        qiu3bt.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                ncscro.fullScroll(ScrollView.FOCUS_UP);
                qiuliangmianlin.setVisibility(View.GONE);
                qiuxiabanbufen.setVisibility(View.VISIBLE);
                qiutitle.setText("第三球");
                lianmalin.setVisibility(View.GONE);
                bttextsetcolor();
                di5longhu.setVisibility(View.VISIBLE);
                lianmapeilv.setText("");
                qiu3bt.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                qiu3bt.setCompoundDrawables(img, null, null, null);
                qiu3bt.setBackgroundColor(getContext().getResources().getColor(R.color.text_color2));
                qiu1.setText(listdata._$61451011);
                qiu2.setText(listdata._$61451012);
                qiu3.setText(listdata._$61451013);
                qiu4.setText(listdata._$61451014);
                qiu5.setText(listdata._$61451015);
                qiu6.setText(listdata._$61451016);
                qiu7.setText(listdata._$61451017);
                qiu8.setText(listdata._$61451018);
                qiu9.setText(listdata._$61451019);
                qiu10.setText(listdata._$61451020);
                qiu11.setText(listdata._$61451021);
                qiu12.setText(listdata._$61451022);
                qiu13.setText(listdata._$61451023);
                qiu14.setText(listdata._$61451024);
                qiu15.setText(listdata._$61451025);
                qiu16.setText(listdata._$61451026);
                qiu17.setText(listdata._$61451027);
                qiu18.setText(listdata._$61451028);
                shifen19.setText(listdata._$61451029);
                shifen20.setText(listdata._$61451030);
                shifendas.setText(listdata._$61451031);
                shifenxiaos.setText(listdata._$61451032);
                shifendans.setText(listdata._$61451033);
                shifenshaungs.setText(listdata._$61451034);
                shifenhedans.setText(listdata._$61451035);
                shifenheshuangs.setText(listdata._$61451036);
                shifenweidas.setText(listdata._$61451037);
                shiweixiaos.setText(listdata._$61451038);
                shifenlongs.setText(listdata._$61451039);
                shifenhus.setText(listdata._$61451040);
                shifendongs.setText(listdata._$61451041);
                shifennans.setText(listdata._$61451042);
                shifenxis.setText(listdata._$61451043);
                shifenbeis.setText(listdata._$61451044);
                shifenzhongs.setText(listdata._$61451045);
                shifenfas.setText(listdata._$61451046);
                shifenbais.setText(listdata._$61451047);
                linearLayoutsList.add(new Viewbean(qiulin1, qiu1, qiu1, "第三球", "61451011"));
                linearLayoutsList.add(new Viewbean(qiulin2, qiu2, qiu2, "第三球", "61451012"));
                linearLayoutsList.add(new Viewbean(qiulin3, qiu3, qiu3, "第三球", "61451013"));
                linearLayoutsList.add(new Viewbean(qiulin4, qiu4, qiu4, "第三球", "61451014"));
                linearLayoutsList.add(new Viewbean(qiulin5, qiu5, qiu5, "第三球", "61451015"));
                linearLayoutsList.add(new Viewbean(qiulin6, qiu6, qiu6, "第三球", "61451016"));
                linearLayoutsList.add(new Viewbean(qiulin7, qiu7, qiu7, "第三球", "61451017"));
                linearLayoutsList.add(new Viewbean(qiulin8, qiu8, qiu8, "第三球", "61451018"));
                linearLayoutsList.add(new Viewbean(qiulin9, qiu9, qiu9, "第三球", "61451019"));
                linearLayoutsList.add(new Viewbean(qiulin10, qiu10, qiu10, "第三球", "61451020"));
                linearLayoutsList.add(new Viewbean(qiulin11, qiu11, qiu11, "第三球", "61451021"));
                linearLayoutsList.add(new Viewbean(qiulin12, qiu12, qiu12, "第三球", "61451022"));
                linearLayoutsList.add(new Viewbean(qiulin13, qiu13, qiu13, "第三球", "61451023"));
                linearLayoutsList.add(new Viewbean(qiulin14, qiu14, qiu14, "第三球", "61451024"));
                linearLayoutsList.add(new Viewbean(qiulin15, qiu15, qiu15, "第三球", "61451025"));
                linearLayoutsList.add(new Viewbean(qiulin16, qiu16, qiu16, "第三球", "61451026"));
                linearLayoutsList.add(new Viewbean(qiulin17, qiu17, qiu17, "第三球", "61451027"));
                linearLayoutsList.add(new Viewbean(qiulin18, qiu18, qiu18, "第三球", "61451028"));
                linearLayoutsList.add(new Viewbean(shifenlin19, shifen19, shifen19, "第三球", "61451029"));
                linearLayoutsList.add(new Viewbean(shifenlin20, shifen20, shifen20, "第三球", "61451030"));
                linearLayoutsList.add(new Viewbean(shifendalin, shifenda, shifendas, "第三球", "61451031"));
                linearLayoutsList.add(new Viewbean(shifenxiaolin, shifenxiao, shifenxiaos, "第三球", "61451032"));
                linearLayoutsList.add(new Viewbean(shifendanlin, shifendan, shifendans, "第三球", "61451033"));
                linearLayoutsList.add(new Viewbean(shifenshaunglin, shifenshuang, shifenshaungs, "第三球", "61451034"));
                linearLayoutsList.add(new Viewbean(shifenhedanlin, shifenhedan, shifenhedans, "第三球", "61451035"));
                linearLayoutsList.add(new Viewbean(shifenheshuanglin, shifenheshuang, shifenheshuangs, "第三球", "61451036"));
                linearLayoutsList.add(new Viewbean(shifenweidalin, shifenweida, shifenweidas, "第三球", "61451037"));
                linearLayoutsList.add(new Viewbean(shiweixiaolin, shiweixiao, shiweixiaos, "第三球", "61451038"));

                linearLayoutsList.add(new Viewbean(shifenlonglin, shifenlong, shifenlongs, "第三球", "61451039"));
                linearLayoutsList.add(new Viewbean(shifenhulin, shifenhu, shifenhus, "第三球", "61451040"));

                linearLayoutsList.add(new Viewbean(shifendonglin, shifendong, shifendongs, "第三球", "61451041"));
                linearLayoutsList.add(new Viewbean(shifennanlin, shifennan, shifennans, "第三球", "61451042"));
                linearLayoutsList.add(new Viewbean(shifenxilin, shifenxi, shifenxis, "第三球", "61451043"));
                linearLayoutsList.add(new Viewbean(shifenbeilin, shifenbei, shifenbeis, "第三球", "61451044"));
                linearLayoutsList.add(new Viewbean(shifenzhonglin, shifenzhong, shifenzhongs, "第三球", "61451045"));
                linearLayoutsList.add(new Viewbean(shifenfalin, shifenfa, shifenfas, "第三球", "61451046"));
                linearLayoutsList.add(new Viewbean(shifenbailin, shifenbai, shifenbais, "第三球", "61451047"));
                textcolorlist();
                chongzhi();
            }
        });
        qiu4bt.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                ncscro.fullScroll(ScrollView.FOCUS_UP);
                qiuliangmianlin.setVisibility(View.GONE);
                qiuxiabanbufen.setVisibility(View.VISIBLE);
                qiutitle.setText("第四球");
                lianmalin.setVisibility(View.GONE);
                bttextsetcolor();
                lianmapeilv.setText("");
                di5longhu.setVisibility(View.VISIBLE);
                qiu4bt.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                qiu4bt.setCompoundDrawables(img, null, null, null);
                qiu4bt.setBackgroundColor(getContext().getResources().getColor(R.color.text_color2));
                qiu1.setText(listdata._$61461048);
                qiu2.setText(listdata._$61461049);
                qiu3.setText(listdata._$61461050);
                qiu4.setText(listdata._$61461051);
                qiu5.setText(listdata._$61461052);
                qiu6.setText(listdata._$61461053);
                qiu7.setText(listdata._$61461054);
                qiu8.setText(listdata._$61461055);
                qiu9.setText(listdata._$61461056);
                qiu10.setText(listdata._$61461057);
                qiu11.setText(listdata._$61461058);
                qiu12.setText(listdata._$61461059);
                qiu13.setText(listdata._$61461060);
                qiu14.setText(listdata._$61461061);
                qiu15.setText(listdata._$61461062);
                qiu16.setText(listdata._$61461063);
                qiu17.setText(listdata._$61461064);
                qiu18.setText(listdata._$61461065);
                shifen19.setText(listdata._$61461066);
                shifen20.setText(listdata._$61461067);
                shifendas.setText(listdata._$61461068);
                shifenxiaos.setText(listdata._$61461069);
                shifendans.setText(listdata._$61461070);
                shifenshaungs.setText(listdata._$61461071);
                shifenhedans.setText(listdata._$61461072);
                shifenheshuangs.setText(listdata._$61461073);
                shifenweidas.setText(listdata._$61461074);
                shiweixiaos.setText(listdata._$61461075);
                shifenlongs.setText(listdata._$61461076);
                shifenhus.setText(listdata._$61461077);
                shifendongs.setText(listdata._$61461078);
                shifennans.setText(listdata._$61461079);
                shifenxis.setText(listdata._$61461080);
                shifenbeis.setText(listdata._$61461081);
                shifenzhongs.setText(listdata._$61461082);
                shifenfas.setText(listdata._$61461083);
                shifenbais.setText(listdata._$61461084);
                linearLayoutsList.add(new Viewbean(qiulin1, qiu1, qiu1, "第四球", "61461048"));
                linearLayoutsList.add(new Viewbean(qiulin2, qiu2, qiu2, "第四球", "61461049"));
                linearLayoutsList.add(new Viewbean(qiulin3, qiu3, qiu3, "第四球", "61461050"));
                linearLayoutsList.add(new Viewbean(qiulin4, qiu4, qiu4, "第四球", "61461051"));
                linearLayoutsList.add(new Viewbean(qiulin5, qiu5, qiu5, "第四球", "61461052"));
                linearLayoutsList.add(new Viewbean(qiulin6, qiu6, qiu6, "第四球", "61461053"));
                linearLayoutsList.add(new Viewbean(qiulin7, qiu7, qiu7, "第四球", "61461054"));
                linearLayoutsList.add(new Viewbean(qiulin8, qiu8, qiu8, "第四球", "61461055"));
                linearLayoutsList.add(new Viewbean(qiulin9, qiu9, qiu9, "第四球", "61461056"));
                linearLayoutsList.add(new Viewbean(qiulin10, qiu10, qiu10, "第四球", "61461057"));
                linearLayoutsList.add(new Viewbean(qiulin11, qiu11, qiu11, "第四球", "61461058"));
                linearLayoutsList.add(new Viewbean(qiulin12, qiu12, qiu12, "第四球", "61461059"));
                linearLayoutsList.add(new Viewbean(qiulin13, qiu13, qiu13, "第四球", "61461060"));
                linearLayoutsList.add(new Viewbean(qiulin14, qiu14, qiu14, "第四球", "61461061"));
                linearLayoutsList.add(new Viewbean(qiulin15, qiu15, qiu15, "第四球", "61461062"));
                linearLayoutsList.add(new Viewbean(qiulin16, qiu16, qiu16, "第四球", "61461063"));
                linearLayoutsList.add(new Viewbean(qiulin17, qiu17, qiu17, "第四球", "61461064"));
                linearLayoutsList.add(new Viewbean(qiulin18, qiu18, qiu18, "第四球", "61461065"));
                linearLayoutsList.add(new Viewbean(shifenlin19, shifen19, shifen19, "第四球", "61461066"));
                linearLayoutsList.add(new Viewbean(shifenlin20, shifen20, shifen20, "第四球", "61461067"));
                linearLayoutsList.add(new Viewbean(shifendalin, shifenda, shifendas, "第四球", "61461068"));
                linearLayoutsList.add(new Viewbean(shifenxiaolin, shifenxiao, shifenxiaos, "第四球", "61461069"));
                linearLayoutsList.add(new Viewbean(shifendanlin, shifendan, shifendans, "第四球", "61461070"));
                linearLayoutsList.add(new Viewbean(shifenshaunglin, shifenshuang, shifenshaungs, "第四球", "61461071"));
                linearLayoutsList.add(new Viewbean(shifenhedanlin, shifenhedan, shifenhedans, "第四球", "61461072"));
                linearLayoutsList.add(new Viewbean(shifenheshuanglin, shifenheshuang, shifenheshuangs, "第四球", "61461073"));
                linearLayoutsList.add(new Viewbean(shifenweidalin, shifenweida, shifenweidas, "第四球", "61461074"));
                linearLayoutsList.add(new Viewbean(shiweixiaolin, shiweixiao, shiweixiaos, "第四球", "61461075"));

                linearLayoutsList.add(new Viewbean(shifenlonglin, shifenlong, shifenlongs, "第四球", "61461076"));
                linearLayoutsList.add(new Viewbean(shifenhulin, shifenhu, shifenhus, "第四球", "61461077"));

                linearLayoutsList.add(new Viewbean(shifendonglin, shifendong, shifendongs, "第四球", "61461078"));
                linearLayoutsList.add(new Viewbean(shifennanlin, shifennan, shifennans, "第四球", "61461079"));
                linearLayoutsList.add(new Viewbean(shifenxilin, shifenxi, shifenxis, "第四球", "61461080"));
                linearLayoutsList.add(new Viewbean(shifenbeilin, shifenbei, shifenbeis, "第四球", "61461081"));
                linearLayoutsList.add(new Viewbean(shifenzhonglin, shifenzhong, shifenzhongs, "第四球", "61461082"));
                linearLayoutsList.add(new Viewbean(shifenfalin, shifenfa, shifenfas, "第四球", "61461083"));
                linearLayoutsList.add(new Viewbean(shifenbailin, shifenbai, shifenbais, "第四球", "61461084"));
                textcolorlist();
                chongzhi();
            }
        });
        qiu5bt.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                ncscro.fullScroll(ScrollView.FOCUS_UP);
                qiuliangmianlin.setVisibility(View.GONE);
                qiuxiabanbufen.setVisibility(View.VISIBLE);
                qiutitle.setText("第五球");
                lianmalin.setVisibility(View.GONE);
                bttextsetcolor();
                di5longhu.setVisibility(View.GONE);
                lianmapeilv.setText("");
                qiu5bt.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                qiu5bt.setCompoundDrawables(img, null, null, null);
                qiu5bt.setBackgroundColor(getContext().getResources().getColor(R.color.text_color2));
                qiu1.setText(listdata._$61471085);
                qiu2.setText(listdata._$61471086);
                qiu3.setText(listdata._$61471087);
                qiu4.setText(listdata._$61471088);
                qiu5.setText(listdata._$61471089);
                qiu6.setText(listdata._$61471090);
                qiu7.setText(listdata._$61471091);
                qiu8.setText(listdata._$61471092);
                qiu9.setText(listdata._$61471093);
                qiu10.setText(listdata._$61471094);
                qiu11.setText(listdata._$61471095);
                qiu12.setText(listdata._$61471096);
                qiu13.setText(listdata._$61471097);
                qiu14.setText(listdata._$61471098);
                qiu15.setText(listdata._$61471099);
                qiu16.setText(listdata._$61471100);
                qiu17.setText(listdata._$61471101);
                qiu18.setText(listdata._$61471102);
                shifen19.setText(listdata._$61471103);
                shifen20.setText(listdata._$61471104);
                shifendas.setText(listdata._$61471105);
                shifenxiaos.setText(listdata._$61471106);
                shifendans.setText(listdata._$61471107);
                shifenshaungs.setText(listdata._$61471108);
                shifenhedans.setText(listdata._$61471109);
                shifenheshuangs.setText(listdata._$61471110);
                shifenweidas.setText(listdata._$61471111);
                shiweixiaos.setText(listdata._$61471112);
                shifenlongs.setText(listdata._$61471113);
                shifenhus.setText(listdata._$61471114);
                shifendongs.setText(listdata._$61471115);
                shifennans.setText(listdata._$61471116);
                shifenxis.setText(listdata._$61471117);
                shifenbeis.setText(listdata._$61471118);
                shifenzhongs.setText(listdata._$61471119);
                shifenfas.setText(listdata._$61471120);
                shifenbais.setText(listdata._$61471121);
                linearLayoutsList.add(new Viewbean(qiulin1, qiu1, qiu1, "第五球", "61471085"));
                linearLayoutsList.add(new Viewbean(qiulin2, qiu2, qiu2, "第五球", "61471086"));
                linearLayoutsList.add(new Viewbean(qiulin3, qiu3, qiu3, "第五球", "61471087"));
                linearLayoutsList.add(new Viewbean(qiulin4, qiu4, qiu4, "第五球", "61471088"));
                linearLayoutsList.add(new Viewbean(qiulin5, qiu5, qiu5, "第五球", "61471089"));
                linearLayoutsList.add(new Viewbean(qiulin6, qiu6, qiu6, "第五球", "61471090"));
                linearLayoutsList.add(new Viewbean(qiulin7, qiu7, qiu7, "第五球", "61471091"));
                linearLayoutsList.add(new Viewbean(qiulin8, qiu8, qiu8, "第五球", "61471092"));
                linearLayoutsList.add(new Viewbean(qiulin9, qiu9, qiu9, "第五球", "61471093"));
                linearLayoutsList.add(new Viewbean(qiulin10, qiu10, qiu10, "第五球", "61471094"));
                linearLayoutsList.add(new Viewbean(qiulin11, qiu11, qiu11, "第五球", "61471095"));
                linearLayoutsList.add(new Viewbean(qiulin12, qiu12, qiu12, "第五球", "61471096"));
                linearLayoutsList.add(new Viewbean(qiulin13, qiu13, qiu13, "第五球", "61471097"));
                linearLayoutsList.add(new Viewbean(qiulin14, qiu14, qiu14, "第五球", "61471098"));
                linearLayoutsList.add(new Viewbean(qiulin15, qiu15, qiu15, "第五球", "61471099"));
                linearLayoutsList.add(new Viewbean(qiulin16, qiu16, qiu16, "第五球", "61471100"));
                linearLayoutsList.add(new Viewbean(qiulin17, qiu17, qiu17, "第五球", "61471101"));
                linearLayoutsList.add(new Viewbean(qiulin18, qiu18, qiu18, "第五球", "61471102"));
                linearLayoutsList.add(new Viewbean(shifenlin19, shifen19, shifen19, "第五球", "61471103"));
                linearLayoutsList.add(new Viewbean(shifenlin20, shifen20, shifen20, "第五球", "61471104"));
                linearLayoutsList.add(new Viewbean(shifendalin, shifenda, shifendas, "第五球", "61471105"));
                linearLayoutsList.add(new Viewbean(shifenxiaolin, shifenxiao, shifenxiaos, "第五球", "61471106"));
                linearLayoutsList.add(new Viewbean(shifendanlin, shifendan, shifendans, "第五球", "61471107"));
                linearLayoutsList.add(new Viewbean(shifenshaunglin, shifenshuang, shifenshaungs, "第五球", "61471108"));
                linearLayoutsList.add(new Viewbean(shifenhedanlin, shifenhedan, shifenhedans, "第五球", "61471109"));
                linearLayoutsList.add(new Viewbean(shifenheshuanglin, shifenheshuang, shifenheshuangs, "第五球", "61471110"));
                linearLayoutsList.add(new Viewbean(shifenweidalin, shifenweida, shifenweidas, "第五球", "61471111"));
                linearLayoutsList.add(new Viewbean(shiweixiaolin, shiweixiao, shiweixiaos, "第五球", "61471112"));

                linearLayoutsList.add(new Viewbean(shifenlonglin, shifenlong, shifenlongs, "第五球", "61471113"));
                linearLayoutsList.add(new Viewbean(shifenhulin, shifenhu, shifenhus, "第五球", "61471114"));

                linearLayoutsList.add(new Viewbean(shifendonglin, shifendong, shifendongs, "第五球", "61471115"));
                linearLayoutsList.add(new Viewbean(shifennanlin, shifennan, shifennans, "第五球", "61471116"));
                linearLayoutsList.add(new Viewbean(shifenxilin, shifenxi, shifenxis, "第五球", "61471117"));
                linearLayoutsList.add(new Viewbean(shifenbeilin, shifenbei, shifenbeis, "第五球", "61471118"));
                linearLayoutsList.add(new Viewbean(shifenzhonglin, shifenzhong, shifenzhongs, "第五球", "61471119"));
                linearLayoutsList.add(new Viewbean(shifenfalin, shifenfa, shifenfas, "第五球", "61471120"));
                linearLayoutsList.add(new Viewbean(shifenbailin, shifenbai, shifenbais, "第五球", "61471121"));
                textcolorlist();
                chongzhi();
            }
        });
        qiu6bt.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                ncscro.fullScroll(ScrollView.FOCUS_UP);
                qiuliangmianlin.setVisibility(View.GONE);
                qiuxiabanbufen.setVisibility(View.VISIBLE);
                qiutitle.setText("第六球");
                lianmalin.setVisibility(View.GONE);
                bttextsetcolor();
                di5longhu.setVisibility(View.GONE);
                lianmapeilv.setText("");
                qiu6bt.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                qiu6bt.setCompoundDrawables(img, null, null, null);
                qiu6bt.setBackgroundColor(getContext().getResources().getColor(R.color.text_color2));
                qiu1.setText(listdata._$61481122);
                qiu2.setText(listdata._$61481123);
                qiu3.setText(listdata._$61481124);
                qiu4.setText(listdata._$61481125);
                qiu5.setText(listdata._$61481126);
                qiu6.setText(listdata._$61481127);
                qiu7.setText(listdata._$61481128);
                qiu8.setText(listdata._$61481129);
                qiu9.setText(listdata._$61481130);
                qiu10.setText(listdata._$61481131);
                qiu11.setText(listdata._$61481132);
                qiu12.setText(listdata._$61481133);
                qiu13.setText(listdata._$61481134);
                qiu14.setText(listdata._$61481135);
                qiu15.setText(listdata._$61481136);
                qiu16.setText(listdata._$61481137);
                qiu17.setText(listdata._$61481138);
                qiu18.setText(listdata._$61481139);
                shifen19.setText(listdata._$61481140);
                shifen20.setText(listdata._$61481141);
                shifendas.setText(listdata._$61481142);
                shifenxiaos.setText(listdata._$61481143);
                shifendans.setText(listdata._$61481144);
                shifenshaungs.setText(listdata._$61481145);
                shifenhedans.setText(listdata._$61481146);
                shifenheshuangs.setText(listdata._$61481147);
                shifenweidas.setText(listdata._$61481148);
                shiweixiaos.setText(listdata._$61481149);
                shifenlongs.setText(listdata._$61481150);
                shifenhus.setText(listdata._$61481151);
                shifendongs.setText(listdata._$61481152);
                shifennans.setText(listdata._$61481153);
                shifenxis.setText(listdata._$61481154);
                shifenbeis.setText(listdata._$61481155);
                shifenzhongs.setText(listdata._$61481156);
                shifenfas.setText(listdata._$61481157);
                shifenbais.setText(listdata._$61481158);
                linearLayoutsList.add(new Viewbean(qiulin1, qiu1, qiu1, "第六球", "61481122"));
                linearLayoutsList.add(new Viewbean(qiulin2, qiu2, qiu2, "第六球", "61481123"));
                linearLayoutsList.add(new Viewbean(qiulin3, qiu3, qiu3, "第六球", "61481124"));
                linearLayoutsList.add(new Viewbean(qiulin4, qiu4, qiu4, "第六球", "61481125"));
                linearLayoutsList.add(new Viewbean(qiulin5, qiu5, qiu5, "第六球", "61481126"));
                linearLayoutsList.add(new Viewbean(qiulin6, qiu6, qiu6, "第六球", "61481127"));
                linearLayoutsList.add(new Viewbean(qiulin7, qiu7, qiu7, "第六球", "61481128"));
                linearLayoutsList.add(new Viewbean(qiulin8, qiu8, qiu8, "第六球", "61481129"));
                linearLayoutsList.add(new Viewbean(qiulin9, qiu9, qiu9, "第六球", "61481130"));
                linearLayoutsList.add(new Viewbean(qiulin10, qiu10, qiu10, "第六球", "61481131"));
                linearLayoutsList.add(new Viewbean(qiulin11, qiu11, qiu11, "第六球", "61481132"));
                linearLayoutsList.add(new Viewbean(qiulin12, qiu12, qiu12, "第六球", "61481133"));
                linearLayoutsList.add(new Viewbean(qiulin13, qiu13, qiu13, "第六球", "61481134"));
                linearLayoutsList.add(new Viewbean(qiulin14, qiu14, qiu14, "第六球", "61481135"));
                linearLayoutsList.add(new Viewbean(qiulin15, qiu15, qiu15, "第六球", "61481136"));
                linearLayoutsList.add(new Viewbean(qiulin16, qiu16, qiu16, "第六球", "61481137"));
                linearLayoutsList.add(new Viewbean(qiulin17, qiu17, qiu17, "第六球", "61481138"));
                linearLayoutsList.add(new Viewbean(qiulin18, qiu18, qiu18, "第六球", "61481139"));
                linearLayoutsList.add(new Viewbean(shifenlin19, shifen19, shifen19, "第六球", "61481140"));
                linearLayoutsList.add(new Viewbean(shifenlin20, shifen20, shifen20, "第六球", "61481141"));
                linearLayoutsList.add(new Viewbean(shifendalin, shifenda, shifendas, "第六球", "61481142"));
                linearLayoutsList.add(new Viewbean(shifenxiaolin, shifenxiao, shifenxiaos, "第六球", "61481143"));
                linearLayoutsList.add(new Viewbean(shifendanlin, shifendan, shifendans, "第六球", "61481144"));
                linearLayoutsList.add(new Viewbean(shifenshaunglin, shifenshuang, shifenshaungs, "第六球", "61481145"));
                linearLayoutsList.add(new Viewbean(shifenhedanlin, shifenhedan, shifenhedans, "第六球", "61481146"));
                linearLayoutsList.add(new Viewbean(shifenheshuanglin, shifenheshuang, shifenheshuangs, "第六球", "61481147"));
                linearLayoutsList.add(new Viewbean(shifenweidalin, shifenweida, shifenweidas, "第六球", "61481148"));
                linearLayoutsList.add(new Viewbean(shiweixiaolin, shiweixiao, shiweixiaos, "第六球", "61481149"));

                linearLayoutsList.add(new Viewbean(shifenlonglin, shifenlong, shifenlongs, "第六球", "61481150"));
                linearLayoutsList.add(new Viewbean(shifenhulin, shifenhu, shifenhus, "第六球", "61481151"));

                linearLayoutsList.add(new Viewbean(shifendonglin, shifendong, shifendongs, "第六球", "61481152"));
                linearLayoutsList.add(new Viewbean(shifennanlin, shifennan, shifennans, "第六球", "61481153"));
                linearLayoutsList.add(new Viewbean(shifenxilin, shifenxi, shifenxis, "第六球", "61481154"));
                linearLayoutsList.add(new Viewbean(shifenbeilin, shifenbei, shifenbeis, "第六球", "61481155"));
                linearLayoutsList.add(new Viewbean(shifenzhonglin, shifenzhong, shifenzhongs, "第六球", "61481156"));
                linearLayoutsList.add(new Viewbean(shifenfalin, shifenfa, shifenfas, "第六球", "61481157"));
                linearLayoutsList.add(new Viewbean(shifenbailin, shifenbai, shifenbais, "第六球", "61481158"));
                textcolorlist();
                chongzhi();
            }
        });
        qiu7bt.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                ncscro.fullScroll(ScrollView.FOCUS_UP);
                qiuliangmianlin.setVisibility(View.GONE);
                qiuxiabanbufen.setVisibility(View.VISIBLE);
                qiutitle.setText("第七球");
                lianmalin.setVisibility(View.GONE);
                bttextsetcolor();
                di5longhu.setVisibility(View.GONE);
                lianmapeilv.setText("");
                qiu7bt.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                qiu7bt.setCompoundDrawables(img, null, null, null);
                qiu7bt.setBackgroundColor(getContext().getResources().getColor(R.color.text_color2));
                qiu1.setText(listdata._$61491159);
                qiu2.setText(listdata._$61491160);
                qiu3.setText(listdata._$61491161);
                qiu4.setText(listdata._$61491162);
                qiu5.setText(listdata._$61491163);
                qiu6.setText(listdata._$61491164);
                qiu7.setText(listdata._$61491165);
                qiu8.setText(listdata._$61491166);
                qiu9.setText(listdata._$61491167);
                qiu10.setText(listdata._$61491168);
                qiu11.setText(listdata._$61491169);
                qiu12.setText(listdata._$61491170);
                qiu13.setText(listdata._$61491171);
                qiu14.setText(listdata._$61491172);
                qiu15.setText(listdata._$61491173);
                qiu16.setText(listdata._$61491174);
                qiu17.setText(listdata._$61491175);
                qiu18.setText(listdata._$61491176);
                shifen19.setText(listdata._$61491177);
                shifen20.setText(listdata._$61491178);
                shifendas.setText(listdata._$61491179);
                shifenxiaos.setText(listdata._$61491180);
                shifendans.setText(listdata._$61491181);
                shifenshaungs.setText(listdata._$61491182);
                shifenhedans.setText(listdata._$61491183);
                shifenheshuangs.setText(listdata._$61491184);
                shifenweidas.setText(listdata._$61491185);
                shiweixiaos.setText(listdata._$61491186);
                shifenlongs.setText(listdata._$61491187);
                shifenhus.setText(listdata._$61491188);
                shifendongs.setText(listdata._$61491189);
                shifennans.setText(listdata._$61491190);
                shifenxis.setText(listdata._$61491191);
                shifenbeis.setText(listdata._$61491192);
                shifenzhongs.setText(listdata._$61491193);
                shifenfas.setText(listdata._$61491194);
                shifenbais.setText(listdata._$61491195);
                linearLayoutsList.add(new Viewbean(qiulin1, qiu1, qiu1, "第七球", "61491159"));
                linearLayoutsList.add(new Viewbean(qiulin2, qiu2, qiu2, "第七球", "61491160"));
                linearLayoutsList.add(new Viewbean(qiulin3, qiu3, qiu3, "第七球", "61491161"));
                linearLayoutsList.add(new Viewbean(qiulin4, qiu4, qiu4, "第七球", "61491162"));
                linearLayoutsList.add(new Viewbean(qiulin5, qiu5, qiu5, "第七球", "61491163"));
                linearLayoutsList.add(new Viewbean(qiulin6, qiu6, qiu6, "第七球", "61491164"));
                linearLayoutsList.add(new Viewbean(qiulin7, qiu7, qiu7, "第七球", "61491165"));
                linearLayoutsList.add(new Viewbean(qiulin8, qiu8, qiu8, "第七球", "61491166"));
                linearLayoutsList.add(new Viewbean(qiulin9, qiu9, qiu9, "第七球", "61491167"));
                linearLayoutsList.add(new Viewbean(qiulin10, qiu10, qiu10, "第七球", "61491168"));
                linearLayoutsList.add(new Viewbean(qiulin11, qiu11, qiu11, "第七球", "61491169"));
                linearLayoutsList.add(new Viewbean(qiulin12, qiu12, qiu12, "第七球", "61491170"));
                linearLayoutsList.add(new Viewbean(qiulin13, qiu13, qiu13, "第七球", "61491171"));
                linearLayoutsList.add(new Viewbean(qiulin14, qiu14, qiu14, "第七球", "61491172"));
                linearLayoutsList.add(new Viewbean(qiulin15, qiu15, qiu15, "第七球", "61491173"));
                linearLayoutsList.add(new Viewbean(qiulin16, qiu16, qiu16, "第七球", "61491174"));
                linearLayoutsList.add(new Viewbean(qiulin17, qiu17, qiu17, "第七球", "61491175"));
                linearLayoutsList.add(new Viewbean(qiulin18, qiu18, qiu18, "第七球", "61491176"));
                linearLayoutsList.add(new Viewbean(shifenlin19, shifen19, shifen19, "第七球", "61491177"));
                linearLayoutsList.add(new Viewbean(shifenlin20, shifen20, shifen20, "第七球", "61491178"));
                linearLayoutsList.add(new Viewbean(shifendalin, shifenda, shifendas, "第七球", "61491179"));
                linearLayoutsList.add(new Viewbean(shifenxiaolin, shifenxiao, shifenxiaos, "第七球", "61491180"));
                linearLayoutsList.add(new Viewbean(shifendanlin, shifendan, shifendans, "第七球", "61491181"));
                linearLayoutsList.add(new Viewbean(shifenshaunglin, shifenshuang, shifenshaungs, "第七球", "61491182"));
                linearLayoutsList.add(new Viewbean(shifenhedanlin, shifenhedan, shifenhedans, "第七球", "61491183"));
                linearLayoutsList.add(new Viewbean(shifenheshuanglin, shifenheshuang, shifenheshuangs, "第七球", "61491184"));
                linearLayoutsList.add(new Viewbean(shifenweidalin, shifenweida, shifenweidas, "第七球", "61491185"));
                linearLayoutsList.add(new Viewbean(shiweixiaolin, shiweixiao, shiweixiaos, "第七球", "61491186"));

                linearLayoutsList.add(new Viewbean(shifenlonglin, shifenlong, shifenlongs, "第七球", "61491187"));
                linearLayoutsList.add(new Viewbean(shifenhulin, shifenhu, shifenhus, "第七球", "61491188"));

                linearLayoutsList.add(new Viewbean(shifendonglin, shifendong, shifendongs, "第七球", "61491189"));
                linearLayoutsList.add(new Viewbean(shifennanlin, shifennan, shifennans, "第七球", "61491190"));
                linearLayoutsList.add(new Viewbean(shifenxilin, shifenxi, shifenxis, "第七球", "61491191"));
                linearLayoutsList.add(new Viewbean(shifenbeilin, shifenbei, shifenbeis, "第七球", "61491192"));
                linearLayoutsList.add(new Viewbean(shifenzhonglin, shifenzhong, shifenzhongs, "第七球", "61491193"));
                linearLayoutsList.add(new Viewbean(shifenfalin, shifenfa, shifenfas, "第七球", "61491194"));
                linearLayoutsList.add(new Viewbean(shifenbailin, shifenbai, shifenbais, "第七球", "61491195"));
                textcolorlist();
                chongzhi();
            }
        });
        qiu8bt.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                ncscro.fullScroll(ScrollView.FOCUS_UP);
                qiuliangmianlin.setVisibility(View.GONE);
                qiuxiabanbufen.setVisibility(View.VISIBLE);
                qiutitle.setText("第八球");
                lianmalin.setVisibility(View.GONE);
                bttextsetcolor();
                di5longhu.setVisibility(View.GONE);
                lianmapeilv.setText("");
                qiu8bt.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                qiu8bt.setCompoundDrawables(img, null, null, null);
                qiu8bt.setBackgroundColor(getContext().getResources().getColor(R.color.text_color2));
                qiu1.setText(listdata._$61501196);
                qiu2.setText(listdata._$61501197);
                qiu3.setText(listdata._$61501198);
                qiu4.setText(listdata._$61501199);
                qiu5.setText(listdata._$61501200);
                qiu6.setText(listdata._$61501201);
                qiu7.setText(listdata._$61501202);
                qiu8.setText(listdata._$61501203);
                qiu9.setText(listdata._$61501204);
                qiu10.setText(listdata._$61501205);
                qiu11.setText(listdata._$61501206);
                qiu12.setText(listdata._$61501207);
                qiu13.setText(listdata._$61501208);
                qiu14.setText(listdata._$61501209);
                qiu15.setText(listdata._$61501210);
                qiu16.setText(listdata._$61501211);
                qiu17.setText(listdata._$61501212);
                qiu18.setText(listdata._$61501213);
                shifen19.setText(listdata._$61501214);
                shifen20.setText(listdata._$61501215);
                shifendas.setText(listdata._$61501216);
                shifenxiaos.setText(listdata._$61501217);
                shifendans.setText(listdata._$61501218);
                shifenshaungs.setText(listdata._$61501219);
                shifenhedans.setText(listdata._$61501220);
                shifenheshuangs.setText(listdata._$61501221);
                shifenweidas.setText(listdata._$61501222);
                shiweixiaos.setText(listdata._$61501223);
                shifenlongs.setText(listdata._$61501224);
                shifenhus.setText(listdata._$61501225);
                shifendongs.setText(listdata._$61501226);
                shifennans.setText(listdata._$61501227);
                shifenxis.setText(listdata._$61501228);
                shifenbeis.setText(listdata._$61501229);
                shifenzhongs.setText(listdata._$61501230);
                shifenfas.setText(listdata._$61501231);
                shifenbais.setText(listdata._$61501232);
                linearLayoutsList.add(new Viewbean(qiulin1, qiu1, qiu1, "第八球", "61501196"));
                linearLayoutsList.add(new Viewbean(qiulin2, qiu2, qiu2, "第八球", "61501197"));
                linearLayoutsList.add(new Viewbean(qiulin3, qiu3, qiu3, "第八球", "61501198"));
                linearLayoutsList.add(new Viewbean(qiulin4, qiu4, qiu4, "第八球", "61501199"));
                linearLayoutsList.add(new Viewbean(qiulin5, qiu5, qiu5, "第八球", "61501200"));
                linearLayoutsList.add(new Viewbean(qiulin6, qiu6, qiu6, "第八球", "61501201"));
                linearLayoutsList.add(new Viewbean(qiulin7, qiu7, qiu7, "第八球", "61501202"));
                linearLayoutsList.add(new Viewbean(qiulin8, qiu8, qiu8, "第八球", "61501203"));
                linearLayoutsList.add(new Viewbean(qiulin9, qiu9, qiu9, "第八球", "61501204"));
                linearLayoutsList.add(new Viewbean(qiulin10, qiu10, qiu10, "第八球", "61501205"));
                linearLayoutsList.add(new Viewbean(qiulin11, qiu11, qiu11, "第八球", "61501206"));
                linearLayoutsList.add(new Viewbean(qiulin12, qiu12, qiu12, "第八球", "61501207"));
                linearLayoutsList.add(new Viewbean(qiulin13, qiu13, qiu13, "第八球", "61501208"));
                linearLayoutsList.add(new Viewbean(qiulin14, qiu14, qiu14, "第八球", "61501209"));
                linearLayoutsList.add(new Viewbean(qiulin15, qiu15, qiu15, "第八球", "61501210"));
                linearLayoutsList.add(new Viewbean(qiulin16, qiu16, qiu16, "第八球", "61501211"));
                linearLayoutsList.add(new Viewbean(qiulin17, qiu17, qiu17, "第八球", "61501212"));
                linearLayoutsList.add(new Viewbean(qiulin18, qiu18, qiu18, "第八球", "61501213"));
                linearLayoutsList.add(new Viewbean(shifenlin19, shifen19, shifen19, "第八球", "61501214"));
                linearLayoutsList.add(new Viewbean(shifenlin20, shifen20, shifen20, "第八球", "61501215"));
                linearLayoutsList.add(new Viewbean(shifendalin, shifenda, shifendas, "第八球", "61501216"));
                linearLayoutsList.add(new Viewbean(shifenxiaolin, shifenxiao, shifenxiaos, "第八球", "61501217"));
                linearLayoutsList.add(new Viewbean(shifendanlin, shifendan, shifendans, "第八球", "61501218"));
                linearLayoutsList.add(new Viewbean(shifenshaunglin, shifenshuang, shifenshaungs, "第八球", "61501219"));
                linearLayoutsList.add(new Viewbean(shifenhedanlin, shifenhedan, shifenhedans, "第八球", "61501220"));
                linearLayoutsList.add(new Viewbean(shifenheshuanglin, shifenheshuang, shifenheshuangs, "第八球", "61501221"));
                linearLayoutsList.add(new Viewbean(shifenweidalin, shifenweida, shifenweidas, "第八球", "61501222"));
                linearLayoutsList.add(new Viewbean(shiweixiaolin, shiweixiao, shiweixiaos, "第八球", "61501223"));

                linearLayoutsList.add(new Viewbean(shifenlonglin, shifenlong, shifenlongs, "第八球", "61501224"));
                linearLayoutsList.add(new Viewbean(shifenhulin, shifenhu, shifenhus, "第八球", "61501225"));

                linearLayoutsList.add(new Viewbean(shifendonglin, shifendong, shifendongs, "第八球", "61501226"));
                linearLayoutsList.add(new Viewbean(shifennanlin, shifennan, shifennans, "第八球", "61501227"));
                linearLayoutsList.add(new Viewbean(shifenxilin, shifenxi, shifenxis, "第八球", "61501228"));
                linearLayoutsList.add(new Viewbean(shifenbeilin, shifenbei, shifenbeis, "第八球", "61501229"));
                linearLayoutsList.add(new Viewbean(shifenzhonglin, shifenzhong, shifenzhongs, "第八球", "61501230"));
                linearLayoutsList.add(new Viewbean(shifenfalin, shifenfa, shifenfas, "第八球", "61501231"));
                linearLayoutsList.add(new Viewbean(shifenbailin, shifenbai, shifenbais, "第八球", "61501232"));
                textcolorlist();
                chongzhi();
            }
        });
        qiulianmabt.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                qiuliangmianlin.setVisibility(View.GONE);
                qiuxiabanbufen.setVisibility(View.GONE);
                lianmapeilv.setVisibility(View.VISIBLE);
                lianmalin.setVisibility(View.VISIBLE);
                bttextsetcolor();
                clearview();
                qiulianmabt.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                qiulianmabt.setCompoundDrawables(img, null, null, null);
                qiulianmabt.setBackgroundColor(getContext().getResources().getColor(R.color.text_color2));
                lianmapeilv.setText("" + listdata._$61521253);
                renxuan1.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                renxuan1.setBackgroundColor(getContext().getResources().getColor(R.color.text_color2));
                linearLayoutsList.add(new Viewbean(lianma1lin, lianma1, lianmapeilv, "任选二", "61521253"));
                linearLayoutsList.add(new Viewbean(lianma2lin, lianma2, lianmapeilv, "任选二", "61521253"));
                linearLayoutsList.add(new Viewbean(lianma3lin, lianma3, lianmapeilv, "任选二", "61521253"));
                linearLayoutsList.add(new Viewbean(lianma4lin, lianma4, lianmapeilv, "任选二", "61521253"));
                linearLayoutsList.add(new Viewbean(lianma5lin, lianma5, lianmapeilv, "任选二", "61521253"));
                linearLayoutsList.add(new Viewbean(lianma6lin, lianma6, lianmapeilv, "任选二", "61521253"));
                linearLayoutsList.add(new Viewbean(lianma7lin, lianma7, lianmapeilv, "任选二", "61521253"));
                linearLayoutsList.add(new Viewbean(lianma8lin, lianma8, lianmapeilv, "任选二", "61521253"));
                linearLayoutsList.add(new Viewbean(lianma9lin, lianma9, lianmapeilv, "任选二", "61521253"));
                linearLayoutsList.add(new Viewbean(lianma10lin, lianma10, lianmapeilv, "任选二", "61521253"));
                linearLayoutsList.add(new Viewbean(lianma11lin, lianma11, lianmapeilv, "任选二", "61521253"));
                linearLayoutsList.add(new Viewbean(lianma12lin, lianma12, lianmapeilv, "任选二", "61521253"));
                linearLayoutsList.add(new Viewbean(lianma13lin, lianma13, lianmapeilv, "任选二", "61521253"));
                linearLayoutsList.add(new Viewbean(lianma14lin, lianma14, lianmapeilv, "任选二", "61521253"));
                linearLayoutsList.add(new Viewbean(lianma15lin, lianma15, lianmapeilv, "任选二", "61521253"));
                linearLayoutsList.add(new Viewbean(lianma16lin, lianma16, lianmapeilv, "任选二", "61521253"));
                linearLayoutsList.add(new Viewbean(lianma17lin, lianma17, lianmapeilv, "任选二", "61521253"));
                linearLayoutsList.add(new Viewbean(lianma18lin, lianma18, lianmapeilv, "任选二", "61521253"));
                linearLayoutsList.add(new Viewbean(lianma19lin, lianma19, lianmapeilv, "任选二", "61521253"));
                linearLayoutsList.add(new Viewbean(lianma20lin, lianma20, lianmapeilv, "任选二", "61521253"));
                textcolorlist();
                chongzhi();
            }
        });
        renxuan1.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                bttextsetcolor();
                lianmapeilv.setText("" + listdata._$61521253);
                renxuan1.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                renxuan1.setBackgroundColor(getContext().getResources().getColor(R.color.text_color2));
                qiulianmabt.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                linearLayoutsList.add(new Viewbean(lianma1lin, lianma1, lianmapeilv, "任选二", "61521253"));
                linearLayoutsList.add(new Viewbean(lianma2lin, lianma2, lianmapeilv, "任选二", "61521253"));
                linearLayoutsList.add(new Viewbean(lianma3lin, lianma3, lianmapeilv, "任选二", "61521253"));
                linearLayoutsList.add(new Viewbean(lianma4lin, lianma4, lianmapeilv, "任选二", "61521253"));
                linearLayoutsList.add(new Viewbean(lianma5lin, lianma5, lianmapeilv, "任选二", "61521253"));
                linearLayoutsList.add(new Viewbean(lianma6lin, lianma6, lianmapeilv, "任选二", "61521253"));
                linearLayoutsList.add(new Viewbean(lianma7lin, lianma7, lianmapeilv, "任选二", "61521253"));
                linearLayoutsList.add(new Viewbean(lianma8lin, lianma8, lianmapeilv, "任选二", "61521253"));
                linearLayoutsList.add(new Viewbean(lianma9lin, lianma9, lianmapeilv, "任选二", "61521253"));
                linearLayoutsList.add(new Viewbean(lianma10lin, lianma10, lianmapeilv, "任选二", "61521253"));
                linearLayoutsList.add(new Viewbean(lianma11lin, lianma11, lianmapeilv, "任选二", "61521253"));
                linearLayoutsList.add(new Viewbean(lianma12lin, lianma12, lianmapeilv, "任选二", "61521253"));
                linearLayoutsList.add(new Viewbean(lianma13lin, lianma13, lianmapeilv, "任选二", "61521253"));
                linearLayoutsList.add(new Viewbean(lianma14lin, lianma14, lianmapeilv, "任选二", "61521253"));
                linearLayoutsList.add(new Viewbean(lianma15lin, lianma15, lianmapeilv, "任选二", "61521253"));
                linearLayoutsList.add(new Viewbean(lianma16lin, lianma16, lianmapeilv, "任选二", "61521253"));
                linearLayoutsList.add(new Viewbean(lianma17lin, lianma17, lianmapeilv, "任选二", "61521253"));
                linearLayoutsList.add(new Viewbean(lianma18lin, lianma18, lianmapeilv, "任选二", "61521253"));
                linearLayoutsList.add(new Viewbean(lianma19lin, lianma19, lianmapeilv, "任选二", "61521253"));
                linearLayoutsList.add(new Viewbean(lianma20lin, lianma20, lianmapeilv, "任选二", "61521253"));
                textcolorlist();
                chongzhi();
            }
        });
        renxuan2.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                bttextsetcolor();
                renxuan2.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                renxuan2.setBackgroundColor(getContext().getResources().getColor(R.color.text_color2));
                lianmapeilv.setText("" + listdata._$61521254);
                qiulianmabt.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                linearLayoutsList.add(new Viewbean(lianma1lin, lianma1, lianmapeilv, "任选二组", "61521254"));
                linearLayoutsList.add(new Viewbean(lianma2lin, lianma2, lianmapeilv, "任选二组", "61521254"));
                linearLayoutsList.add(new Viewbean(lianma3lin, lianma3, lianmapeilv, "任选二组", "61521254"));
                linearLayoutsList.add(new Viewbean(lianma4lin, lianma4, lianmapeilv, "任选二组", "61521254"));
                linearLayoutsList.add(new Viewbean(lianma5lin, lianma5, lianmapeilv, "任选二组", "61521254"));
                linearLayoutsList.add(new Viewbean(lianma6lin, lianma6, lianmapeilv, "任选二组", "61521254"));
                linearLayoutsList.add(new Viewbean(lianma7lin, lianma7, lianmapeilv, "任选二组", "61521254"));
                linearLayoutsList.add(new Viewbean(lianma8lin, lianma8, lianmapeilv, "任选二组", "61521254"));
                linearLayoutsList.add(new Viewbean(lianma9lin, lianma9, lianmapeilv, "任选二组", "61521254"));
                linearLayoutsList.add(new Viewbean(lianma10lin, lianma10, lianmapeilv, "任选二组", "61521254"));
                linearLayoutsList.add(new Viewbean(lianma11lin, lianma11, lianmapeilv, "任选二组", "61521254"));
                linearLayoutsList.add(new Viewbean(lianma12lin, lianma12, lianmapeilv, "任选二组", "61521254"));
                linearLayoutsList.add(new Viewbean(lianma13lin, lianma13, lianmapeilv, "任选二组", "61521254"));
                linearLayoutsList.add(new Viewbean(lianma14lin, lianma14, lianmapeilv, "任选二组", "61521254"));
                linearLayoutsList.add(new Viewbean(lianma15lin, lianma15, lianmapeilv, "任选二组", "61521254"));
                linearLayoutsList.add(new Viewbean(lianma16lin, lianma16, lianmapeilv, "任选二组", "61521254"));
                linearLayoutsList.add(new Viewbean(lianma17lin, lianma17, lianmapeilv, "任选二组", "61521254"));
                linearLayoutsList.add(new Viewbean(lianma18lin, lianma18, lianmapeilv, "任选二组", "61521254"));
                linearLayoutsList.add(new Viewbean(lianma19lin, lianma19, lianmapeilv, "任选二组", "61521254"));
                linearLayoutsList.add(new Viewbean(lianma20lin, lianma20, lianmapeilv, "任选二组", "61521254"));
                textcolorlist();
                chongzhi();
            }
        });
        renxuan3.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                bttextsetcolor();
                chongzhi();
                renxuan3.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                renxuan3.setBackgroundColor(getContext().getResources().getColor(R.color.text_color2));
                lianmapeilv.setText("" + listdata._$61521255);
                qiulianmabt.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                linearLayoutsList.add(new Viewbean(lianma1lin, lianma1, lianmapeilv, "任选三", "61521255"));
                linearLayoutsList.add(new Viewbean(lianma2lin, lianma2, lianmapeilv, "任选三", "61521255"));
                linearLayoutsList.add(new Viewbean(lianma3lin, lianma3, lianmapeilv, "任选三", "61521255"));
                linearLayoutsList.add(new Viewbean(lianma4lin, lianma4, lianmapeilv, "任选三", "61521255"));
                linearLayoutsList.add(new Viewbean(lianma5lin, lianma5, lianmapeilv, "任选三", "61521255"));
                linearLayoutsList.add(new Viewbean(lianma6lin, lianma6, lianmapeilv, "任选三", "61521255"));
                linearLayoutsList.add(new Viewbean(lianma7lin, lianma7, lianmapeilv, "任选三", "61521255"));
                linearLayoutsList.add(new Viewbean(lianma8lin, lianma8, lianmapeilv, "任选三", "61521255"));
                linearLayoutsList.add(new Viewbean(lianma9lin, lianma9, lianmapeilv, "任选三", "61521255"));
                linearLayoutsList.add(new Viewbean(lianma10lin, lianma10, lianmapeilv, "任选三", "61521255"));
                linearLayoutsList.add(new Viewbean(lianma11lin, lianma11, lianmapeilv, "任选三", "61521255"));
                linearLayoutsList.add(new Viewbean(lianma12lin, lianma12, lianmapeilv, "任选三", "61521255"));
                linearLayoutsList.add(new Viewbean(lianma13lin, lianma13, lianmapeilv, "任选三", "61521255"));
                linearLayoutsList.add(new Viewbean(lianma14lin, lianma14, lianmapeilv, "任选三", "61521255"));
                linearLayoutsList.add(new Viewbean(lianma15lin, lianma15, lianmapeilv, "任选三", "61521255"));
                linearLayoutsList.add(new Viewbean(lianma16lin, lianma16, lianmapeilv, "任选三", "61521255"));
                linearLayoutsList.add(new Viewbean(lianma17lin, lianma17, lianmapeilv, "任选三", "61521255"));
                linearLayoutsList.add(new Viewbean(lianma18lin, lianma18, lianmapeilv, "任选三", "61521255"));
                linearLayoutsList.add(new Viewbean(lianma19lin, lianma19, lianmapeilv, "任选三", "61521255"));
                linearLayoutsList.add(new Viewbean(lianma20lin, lianma20, lianmapeilv, "任选三", "61521255"));
                textcolorlist();
            }
        });
        renxuan4.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                bttextsetcolor();
                chongzhi();
                renxuan4.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                renxuan4.setBackgroundColor(getContext().getResources().getColor(R.color.text_color2));
                lianmapeilv.setText("" + listdata._$61521257);
                qiulianmabt.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                linearLayoutsList.add(new Viewbean(lianma1lin, lianma1, lianmapeilv, "任选四", "61521257"));
                linearLayoutsList.add(new Viewbean(lianma2lin, lianma2, lianmapeilv, "任选四", "61521257"));
                linearLayoutsList.add(new Viewbean(lianma3lin, lianma3, lianmapeilv, "任选四", "61521257"));
                linearLayoutsList.add(new Viewbean(lianma4lin, lianma4, lianmapeilv, "任选四", "61521257"));
                linearLayoutsList.add(new Viewbean(lianma5lin, lianma5, lianmapeilv, "任选四", "61521257"));
                linearLayoutsList.add(new Viewbean(lianma6lin, lianma6, lianmapeilv, "任选四", "61521257"));
                linearLayoutsList.add(new Viewbean(lianma7lin, lianma7, lianmapeilv, "任选四", "61521257"));
                linearLayoutsList.add(new Viewbean(lianma8lin, lianma8, lianmapeilv, "任选四", "61521257"));
                linearLayoutsList.add(new Viewbean(lianma9lin, lianma9, lianmapeilv, "任选四", "61521257"));
                linearLayoutsList.add(new Viewbean(lianma10lin, lianma10, lianmapeilv, "任选四", "61521257"));
                linearLayoutsList.add(new Viewbean(lianma11lin, lianma11, lianmapeilv, "任选四", "61521257"));
                linearLayoutsList.add(new Viewbean(lianma12lin, lianma12, lianmapeilv, "任选四", "61521257"));
                linearLayoutsList.add(new Viewbean(lianma13lin, lianma13, lianmapeilv, "任选四", "61521257"));
                linearLayoutsList.add(new Viewbean(lianma14lin, lianma14, lianmapeilv, "任选四", "61521257"));
                linearLayoutsList.add(new Viewbean(lianma15lin, lianma15, lianmapeilv, "任选四", "61521257"));
                linearLayoutsList.add(new Viewbean(lianma16lin, lianma16, lianmapeilv, "任选四", "61521257"));
                linearLayoutsList.add(new Viewbean(lianma17lin, lianma17, lianmapeilv, "任选四", "61521257"));
                linearLayoutsList.add(new Viewbean(lianma18lin, lianma18, lianmapeilv, "任选四", "61521257"));
                linearLayoutsList.add(new Viewbean(lianma19lin, lianma19, lianmapeilv, "任选四", "61521257"));
                linearLayoutsList.add(new Viewbean(lianma20lin, lianma20, lianmapeilv, "任选四", "61521257"));
                textcolorlist();
            }
        });
        renxuan5.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                bttextsetcolor();
                renxuan5.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                chongzhi();
                renxuan5.setBackgroundColor(getContext().getResources().getColor(R.color.text_color2));
                lianmapeilv.setText("" + listdata._$61521258);
                qiulianmabt.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                linearLayoutsList.add(new Viewbean(lianma1lin, lianma1, lianmapeilv, "任选五", "61521258"));
                linearLayoutsList.add(new Viewbean(lianma2lin, lianma2, lianmapeilv, "任选五", "61521258"));
                linearLayoutsList.add(new Viewbean(lianma3lin, lianma3, lianmapeilv, "任选五", "61521258"));
                linearLayoutsList.add(new Viewbean(lianma4lin, lianma4, lianmapeilv, "任选五", "61521258"));
                linearLayoutsList.add(new Viewbean(lianma5lin, lianma5, lianmapeilv, "任选五", "61521258"));
                linearLayoutsList.add(new Viewbean(lianma6lin, lianma6, lianmapeilv, "任选五", "61521258"));
                linearLayoutsList.add(new Viewbean(lianma7lin, lianma7, lianmapeilv, "任选五", "61521258"));
                linearLayoutsList.add(new Viewbean(lianma8lin, lianma8, lianmapeilv, "任选五", "61521258"));
                linearLayoutsList.add(new Viewbean(lianma9lin, lianma9, lianmapeilv, "任选五", "61521258"));
                linearLayoutsList.add(new Viewbean(lianma10lin, lianma10, lianmapeilv, "任选五", "61521258"));
                linearLayoutsList.add(new Viewbean(lianma11lin, lianma11, lianmapeilv, "任选五", "61521258"));
                linearLayoutsList.add(new Viewbean(lianma12lin, lianma12, lianmapeilv, "任选五", "61521258"));
                linearLayoutsList.add(new Viewbean(lianma13lin, lianma13, lianmapeilv, "任选五", "61521258"));
                linearLayoutsList.add(new Viewbean(lianma14lin, lianma14, lianmapeilv, "任选五", "61521258"));
                linearLayoutsList.add(new Viewbean(lianma15lin, lianma15, lianmapeilv, "任选五", "61521258"));
                linearLayoutsList.add(new Viewbean(lianma16lin, lianma16, lianmapeilv, "任选五", "61521258"));
                linearLayoutsList.add(new Viewbean(lianma17lin, lianma17, lianmapeilv, "任选五", "61521258"));
                linearLayoutsList.add(new Viewbean(lianma18lin, lianma18, lianmapeilv, "任选五", "61521258"));
                linearLayoutsList.add(new Viewbean(lianma19lin, lianma19, lianmapeilv, "任选五", "61521258"));
                linearLayoutsList.add(new Viewbean(lianma20lin, lianma20, lianmapeilv, "任选五", "61521258"));
                textcolorlist();
            }
        });
        qiuzonghedas.setText(listdata._$6142931);
        qiuzonghexiaos.setText(listdata._$6142932);
        qiuzonghedans.setText(listdata._$6142933);
        qiuzongheshuangs.setText(listdata._$6142934);
        zongweidas.setText(listdata._$6142935);
        zongweixiaos.setText(listdata._$6142936);
        linearLayoutsList.add(new Viewbean(qiuzonghedalin, qiuzongheda, qiuzonghedas, "两面", "6142931"));
        linearLayoutsList.add(new Viewbean(qiuzonghexiaolin, qiuzonghexiao, qiuzonghexiaos, "两面", "6142932"));
        linearLayoutsList.add(new Viewbean(qiuzonghedanlin, qiuzonghedan, qiuzonghedans, "两面", "6142933"));
        linearLayoutsList.add(new Viewbean(qiuzongheshaunglin, qiuzongheshuang, qiuzongheshuangs, "两面", "6142934"));
        linearLayoutsList.add(new Viewbean(zongweidalin, zongweida, zongweidas, "两面", "6142935"));
        linearLayoutsList.add(new Viewbean(zongweixiaolin, zongweixiao, zongweixiaos, "两面", "6142936"));

        qiu1das.setText(listdata._$6143957);
        qiu1xiaos.setText(listdata._$6143958);
        qiu1dans.setText(listdata._$6143959);
        qiu1shuangs.setText(listdata._$6143960);
        qiu1hedans.setText(listdata._$6143961);
        qiu1heshaungs.setText(listdata._$6143962);
        qiu1weidas.setText(listdata._$6143963);
        qiu1weixiaos.setText(listdata._$6143964);
        qiu1longs.setText(listdata._$6143965);
        qiu1hus.setText(listdata._$6143966);
        linearLayoutsList.add(new Viewbean(qiu1dalin, qiu1da, qiu1das, "第一球", "6143957"));
        linearLayoutsList.add(new Viewbean(qiu1xiaolin, qiu1xiao, qiu1xiaos, "第一球", "6143958"));
        linearLayoutsList.add(new Viewbean(qiu1danlin, qiu1dan, qiu1dans, "第一球", "6143959"));
        linearLayoutsList.add(new Viewbean(qiu1shaunglin, qiu1shuang, qiu1shuangs, "第一球", "6143960"));
        linearLayoutsList.add(new Viewbean(qiu1hedanlin, qiu1hedan, qiu1hedans, "第一球", "6143961"));
        linearLayoutsList.add(new Viewbean(qiu1heshaunglin, qiu1heshaung, qiu1heshaungs, "第一球", "6143962"));
        linearLayoutsList.add(new Viewbean(qiu1weidalin, qiu1weida, qiu1weidas, "第一球", "6143963"));
        linearLayoutsList.add(new Viewbean(qiu1weixiaolin, qiu1weixiao, qiu1weixiaos, "第一球", "6143964"));
        linearLayoutsList.add(new Viewbean(qiu1longlin, qiu1long, qiu1longs, "第一球", "6143965"));
        linearLayoutsList.add(new Viewbean(qiu1hulin, qiu1hu, qiu1hus, "第一球", "6143966"));


        qiu2das.setText(listdata._$6144994);
        qiu2xiaos.setText(listdata._$6144995);
        qiu2dans.setText(listdata._$6144996);
        qiu2shuangs.setText(listdata._$6144997);
        qiu2hedans.setText(listdata._$61441000);
        qiu2heshaungs.setText(listdata._$61441001);
        qiu2weidas.setText(listdata._$6144998);
        qiu2weixiaos.setText(listdata._$6144999);
        qiu2longs.setText(listdata._$61441009);
        qiu2hus.setText(listdata._$61441010);
        linearLayoutsList.add(new Viewbean(qiu2dalin, qiu2da, qiu2das, "第二球", "6144994"));
        linearLayoutsList.add(new Viewbean(qiu2xiaolin, qiu2xiao, qiu2xiaos, "第二球", "6144995"));
        linearLayoutsList.add(new Viewbean(qiu2danlin, qiu2dan, qiu2dans, "第二球", "6144996"));
        linearLayoutsList.add(new Viewbean(qiu2shaunglin, qiu2shuang, qiu2shuangs, "第二球", "6144997"));
        linearLayoutsList.add(new Viewbean(qiu2hedanlin, qiu2hedan, qiu2hedans, "第二球", "61441000"));
        linearLayoutsList.add(new Viewbean(qiu2heshaunglin, qiu2heshaung, qiu2heshaungs, "第二球", "61441001"));
        linearLayoutsList.add(new Viewbean(qiu2weidalin, qiu2weida, qiu2weidas, "第二球", "6144998"));
        linearLayoutsList.add(new Viewbean(qiu2weixiaolin, qiu2weixiao, qiu2weixiaos, "第二球", "6144999"));
        linearLayoutsList.add(new Viewbean(qiu2longlin, qiu2long, qiu2longs, "第二球", "61441009"));
        linearLayoutsList.add(new Viewbean(qiu2hulin, qiu2hu, qiu2hus, "第二球", "61441010"));


        qiu3das.setText(listdata._$61451031);
        qiu3xiaos.setText(listdata._$61451032);
        qiu3dans.setText(listdata._$61451033);
        qiu3shuangs.setText(listdata._$61451034);
        qiu3hedans.setText(listdata._$61451035);
        qiu3heshaungs.setText(listdata._$61451036);
        qiu3weidas.setText(listdata._$61451037);
        qiu3weixiaos.setText(listdata._$61451038);
        qiu3longs.setText(listdata._$61451039);
        qiu3hus.setText(listdata._$61451040);
        linearLayoutsList.add(new Viewbean(qiu3dalin, qiu3da, qiu3das, "第三球", "61451031"));
        linearLayoutsList.add(new Viewbean(qiu3xiaolin, qiu3xiao, qiu3xiaos, "第三球", "61451032"));
        linearLayoutsList.add(new Viewbean(qiu3danlin, qiu3dan, qiu3dans, "第三球", "61451033"));
        linearLayoutsList.add(new Viewbean(qiu3shaunglin, qiu3shuang, qiu3shuangs, "第三球", "61451034"));
        linearLayoutsList.add(new Viewbean(qiu3hedanlin, qiu3hedan, qiu3hedans, "第三球", "61451035"));
        linearLayoutsList.add(new Viewbean(qiu3heshaunglin, qiu3heshaung, qiu3heshaungs, "第三球", "61451036"));
        linearLayoutsList.add(new Viewbean(qiu3weidalin, qiu3weida, qiu3weidas, "第三球", "61451037"));
        linearLayoutsList.add(new Viewbean(qiu3weixiaolin, qiu3weixiao, qiu3weixiaos, "第三球", "61451038"));
        linearLayoutsList.add(new Viewbean(qiu3longlin, qiu3long, qiu3longs, "第三球", "61451039"));
        linearLayoutsList.add(new Viewbean(qiu3hulin, qiu3hu, qiu3hus, "第三球", "61451040"));


        qiu4das.setText(listdata._$61461068);
        qiu4xiaos.setText(listdata._$61461069);
        qiu4dans.setText(listdata._$61461070);
        qiu4shuangs.setText(listdata._$61461071);
        qiu4hedans.setText(listdata._$61461072);
        qiu4heshaungs.setText(listdata._$61461073);
        qiu4weidas.setText(listdata._$61461074);
        qiu4weixiaos.setText(listdata._$61461075);
        qiu4longs.setText(listdata._$61461076);
        qiu4hus.setText(listdata._$61461077);
        linearLayoutsList.add(new Viewbean(qiu4dalin, qiu4da, qiu4das, "第四球", "61461068"));
        linearLayoutsList.add(new Viewbean(qiu4xiaolin, qiu4xiao, qiu4xiaos, "第四球", "61461069"));
        linearLayoutsList.add(new Viewbean(qiu4danlin, qiu4dan, qiu4dans, "第四球", "61461070"));
        linearLayoutsList.add(new Viewbean(qiu4shaunglin, qiu4shuang, qiu4shuangs, "第四球", "61461071"));
        linearLayoutsList.add(new Viewbean(qiu4hedanlin, qiu4hedan, qiu4hedans, "第四球", "61461072"));
        linearLayoutsList.add(new Viewbean(qiu4heshaunglin, qiu4heshaung, qiu4heshaungs, "第四球", "61461073"));
        linearLayoutsList.add(new Viewbean(qiu4weidalin, qiu4weida, qiu4weidas, "第四球", "61461074"));
        linearLayoutsList.add(new Viewbean(qiu4weixiaolin, qiu4weixiao, qiu4weixiaos, "第四球", "61461075"));
        linearLayoutsList.add(new Viewbean(qiu4longlin, qiu4long, qiu4longs, "第四球", "61461076"));
        linearLayoutsList.add(new Viewbean(qiu4hulin, qiu4hu, qiu4hus, "第四球", "61461077"));


        qiu5das.setText(listdata._$61471105);
        qiu5xiaos.setText(listdata._$61471106);
        qiu5dans.setText(listdata._$61471107);
        qiu5shuangs.setText(listdata._$61471111);
        qiu5hedans.setText(listdata._$61471110);
        qiu5heshaungs.setText(listdata._$61471112);
        qiu5weidas.setText(listdata._$61471109);
        qiu5weixiaos.setText(listdata._$61471110);
        qiu5longs.setText(listdata._$61471121);
        qiu5hus.setText(listdata._$61471120);
        longhu5.setVisibility(View.GONE);
        linearLayoutsList.add(new Viewbean(qiu5dalin, qiu5da, qiu5das, "第五球", "61471105"));
        linearLayoutsList.add(new Viewbean(qiu5xiaolin, qiu5xiao, qiu5xiaos, "第五球", "61471106"));
        linearLayoutsList.add(new Viewbean(qiu5danlin, qiu5dan, qiu5dans, "第五球", "61471107"));
        linearLayoutsList.add(new Viewbean(qiu5shaunglin, qiu5shuang, qiu5shuangs, "第五球", "61471111"));
        linearLayoutsList.add(new Viewbean(qiu5hedanlin, qiu5hedan, qiu5hedans, "第五球", "61471110"));
        linearLayoutsList.add(new Viewbean(qiu5heshaunglin, qiu5heshaung, qiu5heshaungs, "第五球", "61471112"));
        linearLayoutsList.add(new Viewbean(qiu5weidalin, qiu5weida, qiu5weidas, "第五球", "61471109"));
        linearLayoutsList.add(new Viewbean(qiu5weixiaolin, qiu5weixiao, qiu5weixiaos, "第五球", "61471110"));
        linearLayoutsList.add(new Viewbean(qiu5longlin, qiu5long, qiu5longs, "第五球", "61471121"));
        linearLayoutsList.add(new Viewbean(qiu5hulin, qiu5hu, qiu5hus, "第五球", "61471120"));


        qiu6das.setText(listdata._$61481142);
        qiu6xiaos.setText(listdata._$61481143);
        qiu6dans.setText(listdata._$61481144);
        qiu6shuangs.setText(listdata._$61481145);
        qiu6hedans.setText(listdata._$61481146);
        qiu6heshaungs.setText(listdata._$61481148);
        qiu6weidas.setText(listdata._$61481146);
        qiu6weixiaos.setText(listdata._$61481149);
        qiu6longs.setText(listdata._$61481147);
        qiu6hus.setText(listdata._$61481158);
        longhu6.setVisibility(View.GONE);
        linearLayoutsList.add(new Viewbean(qiu6dalin, qiu6da, qiu6das, "第六球", "61481142"));
        linearLayoutsList.add(new Viewbean(qiu6xiaolin, qiu6xiao, qiu6xiaos, "第六球", "61481143"));
        linearLayoutsList.add(new Viewbean(qiu6danlin, qiu6dan, qiu6dans, "第六球", "61481144"));
        linearLayoutsList.add(new Viewbean(qiu6shaunglin, qiu6shuang, qiu6shuangs, "第六球", "61481145"));
        linearLayoutsList.add(new Viewbean(qiu6hedanlin, qiu6hedan, qiu6hedans, "第六球", "61481146"));
        linearLayoutsList.add(new Viewbean(qiu6heshaunglin, qiu6heshaung, qiu6heshaungs, "第六球", "61481148"));
        linearLayoutsList.add(new Viewbean(qiu6weidalin, qiu6weida, qiu6weidas, "第六球", "61481146"));
        linearLayoutsList.add(new Viewbean(qiu6weixiaolin, qiu6weixiao, qiu6weixiaos, "第六球", "61481149"));
        linearLayoutsList.add(new Viewbean(qiu6longlin, qiu6long, qiu6longs, "第六球", "61481147"));
        linearLayoutsList.add(new Viewbean(qiu6hulin, qiu6hu, qiu6hus, "第六球", "61481158"));


        qiu7das.setText(listdata._$61491179);
        qiu7xiaos.setText(listdata._$61491180);
        qiu7dans.setText(listdata._$61491181);
        qiu7shuangs.setText(listdata._$61491182);
        qiu7hedans.setText(listdata._$61491185);
        qiu7heshaungs.setText(listdata._$61491186);
        qiu7weidas.setText(listdata._$61491183);
        qiu7weixiaos.setText(listdata._$61491184);
        qiu7longs.setText(listdata._$61491194);
        qiu7hus.setText(listdata._$61491195);
        longhu7.setVisibility(View.GONE);
        linearLayoutsList.add(new Viewbean(qiu7dalin, qiu7da, qiu7das, "第七球", "61491179"));
        linearLayoutsList.add(new Viewbean(qiu7xiaolin, qiu7xiao, qiu7xiaos, "第七球", "61491180"));
        linearLayoutsList.add(new Viewbean(qiu7danlin, qiu7dan, qiu7dans, "第七球", "61491181"));
        linearLayoutsList.add(new Viewbean(qiu7shaunglin, qiu7shuang, qiu7shuangs, "第七球", "61491182"));
        linearLayoutsList.add(new Viewbean(qiu7hedanlin, qiu7hedan, qiu7hedans, "第七球", "61491185"));
        linearLayoutsList.add(new Viewbean(qiu7heshaunglin, qiu7heshaung, qiu7heshaungs, "第七球", "61491186"));
        linearLayoutsList.add(new Viewbean(qiu7weidalin, qiu7weida, qiu7weidas, "第七球", "61491183"));
        linearLayoutsList.add(new Viewbean(qiu7weixiaolin, qiu7weixiao, qiu7weixiaos, "第七球", "61491184"));
        linearLayoutsList.add(new Viewbean(qiu7longlin, qiu7long, qiu7longs, "第七球", "61491194"));
        linearLayoutsList.add(new Viewbean(qiu7hulin, qiu7hu, qiu7hus, "第七球", "61491195"));

        qiu8das.setText(listdata._$61501216);
        qiu8xiaos.setText(listdata._$61501217);
        qiu8dans.setText(listdata._$61501218);
        qiu8shuangs.setText(listdata._$61501219);
        qiu8hedans.setText(listdata._$61501222);
        qiu8heshaungs.setText(listdata._$61501223);
        qiu8weidas.setText(listdata._$61501220);
        qiu8weixiaos.setText(listdata._$61501221);
        qiu8longs.setText(listdata._$61501231);
        qiu8hus.setText(listdata._$61501232);
        longhu8.setVisibility(View.GONE);
        linearLayoutsList.add(new Viewbean(qiu8dalin, qiu8da, qiu8das, "第八球", "61501216"));
        linearLayoutsList.add(new Viewbean(qiu8xiaolin, qiu8xiao, qiu8xiaos, "第八球", "61501217"));
        linearLayoutsList.add(new Viewbean(qiu8danlin, qiu8dan, qiu8dans, "第八球", "61501218"));
        linearLayoutsList.add(new Viewbean(qiu8shaunglin, qiu8shuang, qiu8shuangs, "第八球", "61501219"));
        linearLayoutsList.add(new Viewbean(qiu8hedanlin, qiu8hedan, qiu8hedans, "第八球", "61501222"));
        linearLayoutsList.add(new Viewbean(qiu8heshaunglin, qiu8heshaung, qiu8heshaungs, "第八球", "61501223"));
        linearLayoutsList.add(new Viewbean(qiu8weidalin, qiu8weida, qiu8weidas, "第八球", "61501220"));
        linearLayoutsList.add(new Viewbean(qiu8weixiaolin, qiu8weixiao, qiu8weixiaos, "第八球", "61501221"));
        linearLayoutsList.add(new Viewbean(qiu8longlin, qiu8long, qiu8longs, "第八球", "61501231"));
        linearLayoutsList.add(new Viewbean(qiu8hulin, qiu8hu, qiu8hus, "第八球", "61501232"));

        textcolorlist();
    }


    /**
     * 广东快乐十分
     *
     * @param listdata
     */
    public void setkuaileshifen(final Reskuaile10fen.DataBean listdata) {
        bttextsetcolor();
        final Drawable img = qiuliangmianbt.getResources().getDrawable(R.mipmap.whitedots);
// 调用setCompoundDrawables时，必须调用Drawable.setBounds()方法,否则图片不显示
        img.setBounds(0, 0, img.getMinimumWidth(), img.getMinimumHeight());
        qiuliangmianbt.setCompoundDrawables(img, null, null, null);
        qiuliangmianbt.setTextColor(getContext().getResources().getColor(R.color.settingbg));
        qiuliangmianbt.setBackgroundColor(getContext().getResources().getColor(R.color.text_color2));
        //左侧按钮在这里处理了
        qiuliangmianbt.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                clearview();
                chongzhi();
                lianmapeilv.setText("");
                qiuliangmianlin.setVisibility(View.VISIBLE);
                qiuxiabanbufen.setVisibility(View.GONE);
                lianmalin.setVisibility(View.GONE);
                bttextsetcolor();
                qiuliangmianbt.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                qiuliangmianbt.setBackgroundColor(getContext().getResources().getColor(R.color.text_color2));
                qiuliangmianbt.setCompoundDrawables(img, null, null, null);
            }
        });
        qiu1bt.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                ncscro.fullScroll(ScrollView.FOCUS_UP);
                clearview();
                chongzhi();
                di5longhu.setVisibility(View.VISIBLE);
                lianmapeilv.setText("");
                qiuliangmianlin.setVisibility(View.GONE);
                qiuxiabanbufen.setVisibility(View.VISIBLE);
                qiutitle.setText("第一球");
                lianmalin.setVisibility(View.GONE);
                bttextsetcolor();
                qiu1bt.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                qiu1bt.setBackgroundColor(getContext().getResources().getColor(R.color.text_color2));
                qiu1bt.setCompoundDrawables(img, null, null, null);
                qiu1.setText(listdata._$6054609);
                qiu2.setText(listdata._$6054610);
                qiu3.setText(listdata._$6054611);
                qiu4.setText(listdata._$6054612);
                qiu5.setText(listdata._$6054613);
                qiu6.setText(listdata._$6054614);
                qiu7.setText(listdata._$6054615);
                qiu8.setText(listdata._$6054616);
                qiu9.setText(listdata._$6054617);
                qiu10.setText(listdata._$6054618);
                qiu11.setText(listdata._$6054619);
                qiu12.setText(listdata._$6054620);
                qiu13.setText(listdata._$6054621);
                qiu14.setText(listdata._$6054622);
                qiu15.setText(listdata._$6054623);
                qiu16.setText(listdata._$6054624);
                qiu17.setText(listdata._$6054625);
                qiu18.setText(listdata._$6054626);
                shifen19.setText(listdata._$6054627);
                shifen20.setText(listdata._$6054628);

                shifendas.setText(listdata._$6054629);
                shifenxiaos.setText(listdata._$6054630);
                shifendans.setText(listdata._$6054631);
                shifenshaungs.setText(listdata._$6054632);

                shifenhedans.setText(listdata._$6054635);
                shifenheshuangs.setText(listdata._$6054636);
                shifenweidas.setText(listdata._$6054633);
                shiweixiaos.setText(listdata._$6054634);
                shifenlongs.setText(listdata._$6054644);
                shifenhus.setText(listdata._$6054645);
                shifendongs.setText(listdata._$6054637);
                shifennans.setText(listdata._$6054638);
                shifenxis.setText(listdata._$6054639);
                shifenbeis.setText(listdata._$6054640);
                shifenzhongs.setText(listdata._$6054641);
                shifenfas.setText(listdata._$6054642);
                shifenbais.setText(listdata._$6054643);

                linearLayoutsList.add(new Viewbean(qiulin1, qiu1, qiu1, "第一球", "6054609"));
                linearLayoutsList.add(new Viewbean(qiulin2, qiu2, qiu2, "第一球", "6054610"));
                linearLayoutsList.add(new Viewbean(qiulin3, qiu3, qiu3, "第一球", "6054611"));
                linearLayoutsList.add(new Viewbean(qiulin4, qiu4, qiu4, "第一球", "6054612"));
                linearLayoutsList.add(new Viewbean(qiulin5, qiu5, qiu5, "第一球", "6054613"));
                linearLayoutsList.add(new Viewbean(qiulin6, qiu6, qiu6, "第一球", "6054614"));
                linearLayoutsList.add(new Viewbean(qiulin7, qiu7, qiu7, "第一球", "6054615"));
                linearLayoutsList.add(new Viewbean(qiulin8, qiu8, qiu8, "第一球", "6054616"));
                linearLayoutsList.add(new Viewbean(qiulin9, qiu9, qiu9, "第一球", "6054617"));
                linearLayoutsList.add(new Viewbean(qiulin10, qiu10, qiu10, "第一球", "6054618"));
                linearLayoutsList.add(new Viewbean(qiulin11, qiu11, qiu11, "第一球", "6054619"));
                linearLayoutsList.add(new Viewbean(qiulin12, qiu12, qiu12, "第一球", "6054620"));
                linearLayoutsList.add(new Viewbean(qiulin13, qiu13, qiu13, "第一球", "6054621"));
                linearLayoutsList.add(new Viewbean(qiulin14, qiu14, qiu14, "第一球", "6054622"));
                linearLayoutsList.add(new Viewbean(qiulin15, qiu15, qiu15, "第一球", "6054623"));
                linearLayoutsList.add(new Viewbean(qiulin16, qiu16, qiu16, "第一球", "6054624"));
                linearLayoutsList.add(new Viewbean(qiulin17, qiu17, qiu17, "第一球", "6054625"));
                linearLayoutsList.add(new Viewbean(qiulin18, qiu18, qiu18, "第一球", "6054626"));
                linearLayoutsList.add(new Viewbean(shifenlin19, shifen19, shifen19, "第一球", "6054627"));
                linearLayoutsList.add(new Viewbean(shifenlin20, shifen20, shifen20, "第一球", "6054628"));
                linearLayoutsList.add(new Viewbean(shifendalin, shifenda, shifendas, "第一球", "6054629"));
                linearLayoutsList.add(new Viewbean(shifenxiaolin, shifenxiao, shifenxiaos, "第一球", "6054630"));
                linearLayoutsList.add(new Viewbean(shifendanlin, shifendan, shifendans, "第一球", "6054631"));
                linearLayoutsList.add(new Viewbean(shifenshaunglin, shifenshuang, shifenshaungs, "第一球", "6054632"));

                linearLayoutsList.add(new Viewbean(shifenhedanlin, shifenhedan, shifenhedans, "第一球", "6054635"));
                linearLayoutsList.add(new Viewbean(shifenheshuanglin, shifenheshuang, shifenheshuangs, "第一球", "6054636"));
                linearLayoutsList.add(new Viewbean(shifenweidalin, shifenweida, shifenweidas, "第一球", "6054633"));
                linearLayoutsList.add(new Viewbean(shiweixiaolin, shiweixiao, shiweixiaos, "第一球", "6054634"));
                linearLayoutsList.add(new Viewbean(shifenlonglin, shifenlong, shifenlongs, "第一球", "6054644"));
                linearLayoutsList.add(new Viewbean(shifenhulin, shifenhu, shifenhus, "第一球", "6054645"));
                linearLayoutsList.add(new Viewbean(shifendonglin, shifendong, shifendongs, "第一球", "6054637"));
                linearLayoutsList.add(new Viewbean(shifennanlin, shifennan, shifennans, "第一球", "6054638"));
                linearLayoutsList.add(new Viewbean(shifenxilin, shifenxi, shifenxis, "第一球", "6054639"));
                linearLayoutsList.add(new Viewbean(shifenbeilin, shifenbei, shifenbeis, "第一球", "6054640"));
                linearLayoutsList.add(new Viewbean(shifenzhonglin, shifenzhong, shifenzhongs, "第一球", "6054641"));
                linearLayoutsList.add(new Viewbean(shifenfalin, shifenfa, shifenfas, "第一球", "6054642"));
                linearLayoutsList.add(new Viewbean(shifenbailin, shifenbai, shifenbais, "第一球", "6054643"));
                textcolorlist();
            }
        });
        qiu2bt.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                clearview();
                chongzhi();
                di5longhu.setVisibility(View.VISIBLE);
                ncscro.fullScroll(ScrollView.FOCUS_UP);
                lianmapeilv.setText("");
                qiuliangmianlin.setVisibility(View.GONE);
                qiuxiabanbufen.setVisibility(View.VISIBLE);
                qiutitle.setText("第二球");
                lianmalin.setVisibility(View.GONE);
                bttextsetcolor();
                qiu2bt.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                qiu2bt.setBackgroundColor(getContext().getResources().getColor(R.color.text_color2));
                qiu2bt.setCompoundDrawables(img, null, null, null);
                qiu1.setText(listdata._$6055646);
                qiu2.setText(listdata._$6055647);
                qiu3.setText(listdata._$6055648);
                qiu4.setText(listdata._$6055649);
                qiu5.setText(listdata._$6055650);
                qiu6.setText(listdata._$6055651);
                qiu7.setText(listdata._$6055652);
                qiu8.setText(listdata._$6055653);
                qiu9.setText(listdata._$6055654);
                qiu10.setText(listdata._$6055655);
                qiu11.setText(listdata._$6055656);
                qiu12.setText(listdata._$6055657);
                qiu13.setText(listdata._$6055658);
                qiu14.setText(listdata._$6055659);
                qiu15.setText(listdata._$6055660);
                qiu16.setText(listdata._$6055661);
                qiu17.setText(listdata._$6055662);
                qiu18.setText(listdata._$6055663);
                shifen19.setText(listdata._$6055664);
                shifen20.setText(listdata._$6055665);
                shifendas.setText(listdata._$6055666);
                shifenxiaos.setText(listdata._$6055667);
                shifendans.setText(listdata._$6055668);
                shifenshaungs.setText(listdata._$6055669);

                shifenhedans.setText(listdata._$6055672);
                shifenheshuangs.setText(listdata._$6055673);
                shifenweidas.setText(listdata._$6055670);
                shiweixiaos.setText(listdata._$6055671);
                shifenlongs.setText(listdata._$6055681);
                shifenhus.setText(listdata._$6055682);
                shifendongs.setText(listdata._$6055674);
                shifennans.setText(listdata._$6055675);
                shifenxis.setText(listdata._$6055676);
                shifenbeis.setText(listdata._$6055677);
                shifenzhongs.setText(listdata._$6055678);
                shifenfas.setText(listdata._$6055679);
                shifenbais.setText(listdata._$6055680);
                linearLayoutsList.add(new Viewbean(qiulin1, qiu1, qiu1, "第二球", "6055646"));
                linearLayoutsList.add(new Viewbean(qiulin2, qiu2, qiu2, "第二球", "6055647"));
                linearLayoutsList.add(new Viewbean(qiulin3, qiu3, qiu3, "第二球", "6055648"));
                linearLayoutsList.add(new Viewbean(qiulin4, qiu4, qiu4, "第二球", "6055649"));
                linearLayoutsList.add(new Viewbean(qiulin5, qiu5, qiu5, "第二球", "6055650"));
                linearLayoutsList.add(new Viewbean(qiulin6, qiu6, qiu6, "第二球", "6055651"));
                linearLayoutsList.add(new Viewbean(qiulin7, qiu7, qiu7, "第二球", "6055652"));
                linearLayoutsList.add(new Viewbean(qiulin8, qiu8, qiu8, "第二球", "6055653"));
                linearLayoutsList.add(new Viewbean(qiulin9, qiu9, qiu9, "第二球", "6055654"));
                linearLayoutsList.add(new Viewbean(qiulin10, qiu10, qiu10, "第二球", "6055655"));
                linearLayoutsList.add(new Viewbean(qiulin11, qiu11, qiu11, "第二球", "6055656"));
                linearLayoutsList.add(new Viewbean(qiulin12, qiu12, qiu12, "第二球", "6055657"));
                linearLayoutsList.add(new Viewbean(qiulin13, qiu13, qiu13, "第二球", "6055658"));
                linearLayoutsList.add(new Viewbean(qiulin14, qiu14, qiu14, "第二球", "6055659"));
                linearLayoutsList.add(new Viewbean(qiulin15, qiu15, qiu15, "第二球", "6055660"));
                linearLayoutsList.add(new Viewbean(qiulin16, qiu16, qiu16, "第二球", "6055661"));
                linearLayoutsList.add(new Viewbean(qiulin17, qiu17, qiu17, "第二球", "6055662"));
                linearLayoutsList.add(new Viewbean(qiulin18, qiu18, qiu18, "第二球", "6055663"));
                linearLayoutsList.add(new Viewbean(shifenlin19, shifen19, shifen19, "第二球", "6055664"));
                linearLayoutsList.add(new Viewbean(shifenlin20, shifen20, shifen20, "第二球", "6055665"));
                linearLayoutsList.add(new Viewbean(shifendalin, shifenda, shifendas, "第二球", "6055666"));
                linearLayoutsList.add(new Viewbean(shifenxiaolin, shifenxiao, shifenxiaos, "第二球", "6055667"));
                linearLayoutsList.add(new Viewbean(shifendanlin, shifendan, shifendans, "第二球", "6055668"));
                linearLayoutsList.add(new Viewbean(shifenshaunglin, shifenshuang, shifenshaungs, "第二球", "6055669"));

                linearLayoutsList.add(new Viewbean(shifenhedanlin, shifenhedan, shifenhedans, "第二球", "6055672"));
                linearLayoutsList.add(new Viewbean(shifenheshuanglin, shifenheshuang, shifenheshuangs, "第二球", "6055673"));
                linearLayoutsList.add(new Viewbean(shifenweidalin, shifenweida, shifenweidas, "第二球", "6055670"));
                linearLayoutsList.add(new Viewbean(shiweixiaolin, shiweixiao, shiweixiaos, "第二球", "6055671"));
                linearLayoutsList.add(new Viewbean(shifenlonglin, shifenlong, shifenlongs, "第二球", "6055681"));
                linearLayoutsList.add(new Viewbean(shifenhulin, shifenhu, shifenhus, "第二球", "6055682"));
                linearLayoutsList.add(new Viewbean(shifendonglin, shifendong, shifendongs, "第二球", "6055674"));
                linearLayoutsList.add(new Viewbean(shifennanlin, shifennan, shifennans, "第二球", "6055675"));
                linearLayoutsList.add(new Viewbean(shifenxilin, shifenxi, shifenxis, "第二球", "6055676"));
                linearLayoutsList.add(new Viewbean(shifenbeilin, shifenbei, shifenbeis, "第二球", "6055677"));
                linearLayoutsList.add(new Viewbean(shifenzhonglin, shifenzhong, shifenzhongs, "第二球", "6055678"));
                linearLayoutsList.add(new Viewbean(shifenfalin, shifenfa, shifenfas, "第二球", "6055679"));
                linearLayoutsList.add(new Viewbean(shifenbailin, shifenbai, shifenbais, "第二球", "6055680"));
                textcolorlist();
            }
        });
        qiu3bt.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                clearview();
                chongzhi();
                di5longhu.setVisibility(View.VISIBLE);
                ncscro.fullScroll(ScrollView.FOCUS_UP);
                lianmapeilv.setText("");
                qiuliangmianlin.setVisibility(View.GONE);
                qiuxiabanbufen.setVisibility(View.VISIBLE);
                qiutitle.setText("第三球");
                lianmalin.setVisibility(View.GONE);
                bttextsetcolor();
                qiu3bt.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                qiu3bt.setCompoundDrawables(img, null, null, null);
                qiu3bt.setBackgroundColor(getContext().getResources().getColor(R.color.text_color2));
                qiu1.setText(listdata._$6056683);
                qiu2.setText(listdata._$6056684);
                qiu3.setText(listdata._$6056685);
                qiu4.setText(listdata._$6056686);
                qiu5.setText(listdata._$6056687);
                qiu6.setText(listdata._$6056688);
                qiu7.setText(listdata._$6056689);
                qiu8.setText(listdata._$6056690);
                qiu9.setText(listdata._$6056691);
                qiu10.setText(listdata._$6056692);
                qiu11.setText(listdata._$6056693);
                qiu12.setText(listdata._$6056694);
                qiu13.setText(listdata._$6056695);
                qiu14.setText(listdata._$6056696);
                qiu15.setText(listdata._$6056697);
                qiu16.setText(listdata._$6056698);
                qiu17.setText(listdata._$6056699);
                qiu18.setText(listdata._$6056700);
                shifen19.setText(listdata._$6056701);
                shifen20.setText(listdata._$6056702);
                shifendas.setText(listdata._$6056703);
                shifenxiaos.setText(listdata._$6056704);
                shifendans.setText(listdata._$6056705);
                shifenshaungs.setText(listdata._$6056706);

                shifenhedans.setText(listdata._$6056709);
                shifenheshuangs.setText(listdata._$6056710);
                shifenweidas.setText(listdata._$6056707);
                shiweixiaos.setText(listdata._$6056708);
                shifenlongs.setText(listdata._$6056718);
                shifenhus.setText(listdata._$6056719);
                shifendongs.setText(listdata._$6056711);
                shifennans.setText(listdata._$6056712);
                shifenxis.setText(listdata._$6056713);
                shifenbeis.setText(listdata._$6056714);
                shifenzhongs.setText(listdata._$6056715);
                shifenfas.setText(listdata._$6056716);
                shifenbais.setText(listdata._$6056717);
                linearLayoutsList.add(new Viewbean(qiulin1, qiu1, qiu1, "第三球", "6056683"));
                linearLayoutsList.add(new Viewbean(qiulin2, qiu2, qiu2, "第三球", "6056684"));
                linearLayoutsList.add(new Viewbean(qiulin3, qiu3, qiu3, "第三球", "6056685"));
                linearLayoutsList.add(new Viewbean(qiulin4, qiu4, qiu4, "第三球", "6056686"));
                linearLayoutsList.add(new Viewbean(qiulin5, qiu5, qiu5, "第三球", "6056687"));
                linearLayoutsList.add(new Viewbean(qiulin6, qiu6, qiu6, "第三球", "6056688"));
                linearLayoutsList.add(new Viewbean(qiulin7, qiu7, qiu7, "第三球", "6056689"));
                linearLayoutsList.add(new Viewbean(qiulin8, qiu8, qiu8, "第三球", "6056690"));
                linearLayoutsList.add(new Viewbean(qiulin9, qiu9, qiu9, "第三球", "6056691"));
                linearLayoutsList.add(new Viewbean(qiulin10, qiu10, qiu10, "第三球", "6056692"));
                linearLayoutsList.add(new Viewbean(qiulin11, qiu11, qiu11, "第三球", "6056693"));
                linearLayoutsList.add(new Viewbean(qiulin12, qiu12, qiu12, "第三球", "6056694"));
                linearLayoutsList.add(new Viewbean(qiulin13, qiu13, qiu13, "第三球", "6056695"));
                linearLayoutsList.add(new Viewbean(qiulin14, qiu14, qiu14, "第三球", "6056696"));
                linearLayoutsList.add(new Viewbean(qiulin15, qiu15, qiu15, "第三球", "6056697"));
                linearLayoutsList.add(new Viewbean(qiulin16, qiu16, qiu16, "第三球", "6056698"));
                linearLayoutsList.add(new Viewbean(qiulin17, qiu17, qiu17, "第三球", "6056699"));
                linearLayoutsList.add(new Viewbean(qiulin18, qiu18, qiu18, "第三球", "6056700"));
                linearLayoutsList.add(new Viewbean(shifenlin19, shifen19, shifen19, "第三球", "6056701"));
                linearLayoutsList.add(new Viewbean(shifenlin20, shifen20, shifen20, "第三球", "6056702"));
                linearLayoutsList.add(new Viewbean(shifendalin, shifenda, shifendas, "第三球", "6056703"));
                linearLayoutsList.add(new Viewbean(shifenxiaolin, shifenxiao, shifenxiaos, "第三球", "6056704"));
                linearLayoutsList.add(new Viewbean(shifendanlin, shifendan, shifendans, "第三球", "6056705"));
                linearLayoutsList.add(new Viewbean(shifenshaunglin, shifenshuang, shifenshaungs, "第三球", "6056706"));

                linearLayoutsList.add(new Viewbean(shifenhedanlin, shifenhedan, shifenhedans, "第三球", "6056709"));
                linearLayoutsList.add(new Viewbean(shifenheshuanglin, shifenheshuang, shifenheshuangs, "第三球", "6056710"));
                linearLayoutsList.add(new Viewbean(shifenweidalin, shifenweida, shifenweidas, "第三球", "6056707"));
                linearLayoutsList.add(new Viewbean(shiweixiaolin, shiweixiao, shiweixiaos, "第三球", "6056708"));
                linearLayoutsList.add(new Viewbean(shifenlonglin, shifenlong, shifenlongs, "第三球", "6056718"));
                linearLayoutsList.add(new Viewbean(shifenhulin, shifenhu, shifenhus, "第三球", "6056719"));
                linearLayoutsList.add(new Viewbean(shifendonglin, shifendong, shifendongs, "第三球", "6056711"));
                linearLayoutsList.add(new Viewbean(shifennanlin, shifennan, shifennans, "第三球", "6056712"));
                linearLayoutsList.add(new Viewbean(shifenxilin, shifenxi, shifenxis, "第三球", "6056713"));
                linearLayoutsList.add(new Viewbean(shifenbeilin, shifenbei, shifenbeis, "第三球", "6056714"));
                linearLayoutsList.add(new Viewbean(shifenzhonglin, shifenzhong, shifenzhongs, "第三球", "6056715"));
                linearLayoutsList.add(new Viewbean(shifenfalin, shifenfa, shifenfas, "第三球", "6056716"));
                linearLayoutsList.add(new Viewbean(shifenbailin, shifenbai, shifenbais, "第三球", "6056717"));
                textcolorlist();
            }
        });
        qiu4bt.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                clearview();
                chongzhi();
                di5longhu.setVisibility(View.VISIBLE);
                ncscro.fullScroll(ScrollView.FOCUS_UP);
                qiuliangmianlin.setVisibility(View.GONE);
                qiuxiabanbufen.setVisibility(View.VISIBLE);
                qiutitle.setText("第四球");
                lianmalin.setVisibility(View.GONE);
                bttextsetcolor();
                lianmapeilv.setText("");
                qiu4bt.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                qiu4bt.setBackgroundColor(getContext().getResources().getColor(R.color.text_color2));
                qiu4bt.setCompoundDrawables(img, null, null, null);
                qiu1.setText(listdata._$6057720);
                qiu2.setText(listdata._$6057721);
                qiu3.setText(listdata._$6057722);
                qiu4.setText(listdata._$6057723);
                qiu5.setText(listdata._$6057724);
                qiu6.setText(listdata._$6057725);
                qiu7.setText(listdata._$6057726);
                qiu8.setText(listdata._$6057727);
                qiu9.setText(listdata._$6057728);
                qiu10.setText(listdata._$6057729);
                qiu11.setText(listdata._$6057730);
                qiu12.setText(listdata._$6057731);
                qiu13.setText(listdata._$6057732);
                qiu14.setText(listdata._$6057733);
                qiu15.setText(listdata._$6057734);
                qiu16.setText(listdata._$6057735);
                qiu17.setText(listdata._$6057736);
                qiu18.setText(listdata._$6057737);
                shifen19.setText(listdata._$6057738);
                shifen20.setText(listdata._$6057739);
                shifendas.setText(listdata._$6057740);
                shifenxiaos.setText(listdata._$6057741);
                shifendans.setText(listdata._$6057742);
                shifenshaungs.setText(listdata._$6057743);

                shifenhedans.setText(listdata._$6057746);
                shifenheshuangs.setText(listdata._$6057747);
                shifenweidas.setText(listdata._$6057744);
                shiweixiaos.setText(listdata._$6057745);
                shifenlongs.setText(listdata._$6057755);
                shifenhus.setText(listdata._$6057756);
                shifendongs.setText(listdata._$6057748);
                shifennans.setText(listdata._$6057749);
                shifenxis.setText(listdata._$6057750);
                shifenbeis.setText(listdata._$6057751);
                shifenzhongs.setText(listdata._$6057752);
                shifenfas.setText(listdata._$6057753);
                shifenbais.setText(listdata._$6057754);
                linearLayoutsList.add(new Viewbean(qiulin1, qiu1, qiu1, "第四球", "6057720"));
                linearLayoutsList.add(new Viewbean(qiulin2, qiu2, qiu2, "第四球", "6057721"));
                linearLayoutsList.add(new Viewbean(qiulin3, qiu3, qiu3, "第四球", "6057722"));
                linearLayoutsList.add(new Viewbean(qiulin4, qiu4, qiu4, "第四球", "6057723"));
                linearLayoutsList.add(new Viewbean(qiulin5, qiu5, qiu5, "第四球", "6057724"));
                linearLayoutsList.add(new Viewbean(qiulin6, qiu6, qiu6, "第四球", "6057725"));
                linearLayoutsList.add(new Viewbean(qiulin7, qiu7, qiu7, "第四球", "6057726"));
                linearLayoutsList.add(new Viewbean(qiulin8, qiu8, qiu8, "第四球", "6057727"));
                linearLayoutsList.add(new Viewbean(qiulin9, qiu9, qiu9, "第四球", "6057728"));
                linearLayoutsList.add(new Viewbean(qiulin10, qiu10, qiu10, "第四球", "6057729"));
                linearLayoutsList.add(new Viewbean(qiulin11, qiu11, qiu11, "第四球", "6057730"));
                linearLayoutsList.add(new Viewbean(qiulin12, qiu12, qiu12, "第四球", "6057731"));
                linearLayoutsList.add(new Viewbean(qiulin13, qiu13, qiu13, "第四球", "6057732"));
                linearLayoutsList.add(new Viewbean(qiulin14, qiu14, qiu14, "第四球", "6057733"));
                linearLayoutsList.add(new Viewbean(qiulin15, qiu15, qiu15, "第四球", "6057734"));
                linearLayoutsList.add(new Viewbean(qiulin16, qiu16, qiu16, "第四球", "6057735"));
                linearLayoutsList.add(new Viewbean(qiulin17, qiu17, qiu17, "第四球", "6057736"));
                linearLayoutsList.add(new Viewbean(qiulin18, qiu18, qiu18, "第四球", "6057737"));
                linearLayoutsList.add(new Viewbean(shifenlin19, shifen19, shifen19, "第四球", "6057738"));
                linearLayoutsList.add(new Viewbean(shifenlin20, shifen20, shifen20, "第四球", "6057739"));
                linearLayoutsList.add(new Viewbean(shifendalin, shifenda, shifendas, "第四球", "6057740"));
                linearLayoutsList.add(new Viewbean(shifenxiaolin, shifenxiao, shifenxiaos, "第四球", "6057741"));
                linearLayoutsList.add(new Viewbean(shifendanlin, shifendan, shifendans, "第四球", "6057742"));
                linearLayoutsList.add(new Viewbean(shifenshaunglin, shifenshuang, shifenshaungs, "第四球", "6057743"));

                linearLayoutsList.add(new Viewbean(shifenhedanlin, shifenhedan, shifenhedans, "第四球", "6057746"));
                linearLayoutsList.add(new Viewbean(shifenheshuanglin, shifenheshuang, shifenheshuangs, "第四球", "6057747"));
                linearLayoutsList.add(new Viewbean(shifenweidalin, shifenweida, shifenweidas, "第四球", "6057744"));
                linearLayoutsList.add(new Viewbean(shiweixiaolin, shiweixiao, shiweixiaos, "第四球", "6057745"));
                linearLayoutsList.add(new Viewbean(shifenlonglin, shifenlong, shifenlongs, "第四球", "6057755"));
                linearLayoutsList.add(new Viewbean(shifenhulin, shifenhu, shifenhus, "第四球", "6057756"));
                linearLayoutsList.add(new Viewbean(shifendonglin, shifendong, shifendongs, "第四球", "6057748"));
                linearLayoutsList.add(new Viewbean(shifennanlin, shifennan, shifennans, "第四球", "6057749"));
                linearLayoutsList.add(new Viewbean(shifenxilin, shifenxi, shifenxis, "第四球", "6057750"));
                linearLayoutsList.add(new Viewbean(shifenbeilin, shifenbei, shifenbeis, "第四球", "6057751"));
                linearLayoutsList.add(new Viewbean(shifenzhonglin, shifenzhong, shifenzhongs, "第四球", "6057752"));
                linearLayoutsList.add(new Viewbean(shifenfalin, shifenfa, shifenfas, "第四球", "6057753"));
                linearLayoutsList.add(new Viewbean(shifenbailin, shifenbai, shifenbais, "第四球", "6057754"));
                textcolorlist();
            }
        });
        qiu5bt.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                clearview();
                chongzhi();
                ncscro.fullScroll(ScrollView.FOCUS_UP);
                lianmapeilv.setText("");
                qiuliangmianlin.setVisibility(View.GONE);
                qiuxiabanbufen.setVisibility(View.VISIBLE);
                qiutitle.setText("第五球");
                lianmalin.setVisibility(View.GONE);
                bttextsetcolor();
                qiu5bt.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                qiu5bt.setBackgroundColor(getContext().getResources().getColor(R.color.text_color2));
                qiu5bt.setCompoundDrawables(img, null, null, null);
                qiu1.setText(listdata._$6058757);
                qiu2.setText(listdata._$6058758);
                qiu3.setText(listdata._$6058759);
                qiu4.setText(listdata._$6058760);
                qiu5.setText(listdata._$6058761);
                qiu6.setText(listdata._$6058762);
                qiu7.setText(listdata._$6058763);
                qiu8.setText(listdata._$6058764);
                qiu9.setText(listdata._$6058765);
                qiu10.setText(listdata._$6058766);
                qiu11.setText(listdata._$6058767);
                qiu12.setText(listdata._$6058768);
                qiu13.setText(listdata._$6058769);
                qiu14.setText(listdata._$6058770);
                qiu15.setText(listdata._$6058771);
                qiu16.setText(listdata._$6058772);
                qiu17.setText(listdata._$6058773);
                qiu18.setText(listdata._$6058774);
                shifen19.setText(listdata._$6058775);
                shifen20.setText(listdata._$6058776);
                shifendas.setText(listdata._$6058777);
                shifenxiaos.setText(listdata._$6058778);
                shifendans.setText(listdata._$6058779);
                shifenshaungs.setText(listdata._$6058780);

                shifenhedans.setText(listdata._$6058783);
                shifenheshuangs.setText(listdata._$6058784);
                shifenweidas.setText(listdata._$6058781);
                shiweixiaos.setText(listdata._$6058782);
                shifenlongs.setText(listdata._$6058792);
                shifenhus.setText(listdata._$6058793);
                shifendongs.setText(listdata._$6058785);
                shifennans.setText(listdata._$6058786);
                shifenxis.setText(listdata._$6058787);
                shifenbeis.setText(listdata._$6058788);
                shifenzhongs.setText(listdata._$6058789);
                shifenfas.setText(listdata._$6058790);
                shifenbais.setText(listdata._$6058791);
                di5longhu.setVisibility(View.GONE);

                linearLayoutsList.add(new Viewbean(qiulin1, qiu1, qiu1, "第五球", "6058757"));
                linearLayoutsList.add(new Viewbean(qiulin2, qiu2, qiu2, "第五球", "6058758"));
                linearLayoutsList.add(new Viewbean(qiulin3, qiu3, qiu3, "第五球", "6058759"));
                linearLayoutsList.add(new Viewbean(qiulin4, qiu4, qiu4, "第五球", "6058760"));
                linearLayoutsList.add(new Viewbean(qiulin5, qiu5, qiu5, "第五球", "6058761"));
                linearLayoutsList.add(new Viewbean(qiulin6, qiu6, qiu6, "第五球", "6058762"));
                linearLayoutsList.add(new Viewbean(qiulin7, qiu7, qiu7, "第五球", "6058763"));
                linearLayoutsList.add(new Viewbean(qiulin8, qiu8, qiu8, "第五球", "6058764"));
                linearLayoutsList.add(new Viewbean(qiulin9, qiu9, qiu9, "第五球", "6058765"));
                linearLayoutsList.add(new Viewbean(qiulin10, qiu10, qiu10, "第五球", "6058766"));
                linearLayoutsList.add(new Viewbean(qiulin11, qiu11, qiu11, "第五球", "6058767"));
                linearLayoutsList.add(new Viewbean(qiulin12, qiu12, qiu12, "第五球", "6058768"));
                linearLayoutsList.add(new Viewbean(qiulin13, qiu13, qiu13, "第五球", "6058769"));
                linearLayoutsList.add(new Viewbean(qiulin14, qiu14, qiu14, "第五球", "6058770"));
                linearLayoutsList.add(new Viewbean(qiulin15, qiu15, qiu15, "第五球", "6058771"));
                linearLayoutsList.add(new Viewbean(qiulin16, qiu16, qiu16, "第五球", "6058772"));
                linearLayoutsList.add(new Viewbean(qiulin17, qiu17, qiu17, "第五球", "6058773"));
                linearLayoutsList.add(new Viewbean(qiulin18, qiu18, qiu18, "第五球", "6058774"));
                linearLayoutsList.add(new Viewbean(shifenlin19, shifen19, shifen19, "第五球", "6058775"));
                linearLayoutsList.add(new Viewbean(shifenlin20, shifen20, shifen20, "第五球", "6058776"));
                linearLayoutsList.add(new Viewbean(shifendalin, shifenda, shifendas, "第五球", "6058777"));
                linearLayoutsList.add(new Viewbean(shifenxiaolin, shifenxiao, shifenxiaos, "第五球", "6058778"));
                linearLayoutsList.add(new Viewbean(shifendanlin, shifendan, shifendans, "第五球", "6058779"));
                linearLayoutsList.add(new Viewbean(shifenshaunglin, shifenshuang, shifenshaungs, "第五球", "6058780"));

                linearLayoutsList.add(new Viewbean(shifenhedanlin, shifenhedan, shifenhedans, "第五球", "6058783"));
                linearLayoutsList.add(new Viewbean(shifenheshuanglin, shifenheshuang, shifenheshuangs, "第五球", "6058784"));
                linearLayoutsList.add(new Viewbean(shifenweidalin, shifenweida, shifenweidas, "第五球", "6058781"));
                linearLayoutsList.add(new Viewbean(shiweixiaolin, shiweixiao, shiweixiaos, "第五球", "6058782"));
                linearLayoutsList.add(new Viewbean(shifenlonglin, shifenlong, shifenlongs, "第五球", "6058792"));
                linearLayoutsList.add(new Viewbean(shifenhulin, shifenhu, shifenhus, "第五球", "6058793"));
                linearLayoutsList.add(new Viewbean(shifendonglin, shifendong, shifendongs, "第五球", "6058785"));
                linearLayoutsList.add(new Viewbean(shifennanlin, shifennan, shifennans, "第五球", "6058786"));
                linearLayoutsList.add(new Viewbean(shifenxilin, shifenxi, shifenxis, "第五球", "6058787"));
                linearLayoutsList.add(new Viewbean(shifenbeilin, shifenbei, shifenbeis, "第五球", "6058788"));
                linearLayoutsList.add(new Viewbean(shifenzhonglin, shifenzhong, shifenzhongs, "第五球", "6058789"));
                linearLayoutsList.add(new Viewbean(shifenfalin, shifenfa, shifenfas, "第五球", "6058790"));
                linearLayoutsList.add(new Viewbean(shifenbailin, shifenbai, shifenbais, "第五球", "6058791"));
                textcolorlist();
            }
        });
        qiu6bt.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                clearview();
                chongzhi();
                ncscro.fullScroll(ScrollView.FOCUS_UP);
                lianmapeilv.setText("");
                qiuliangmianlin.setVisibility(View.GONE);
                qiuxiabanbufen.setVisibility(View.VISIBLE);
                qiutitle.setText("第六球");
                lianmalin.setVisibility(View.GONE);
                bttextsetcolor();
                qiu6bt.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                qiu6bt.setBackgroundColor(getContext().getResources().getColor(R.color.text_color2));
                qiu6bt.setCompoundDrawables(img, null, null, null);
                qiu1.setText(listdata._$6059794);
                qiu2.setText(listdata._$6059795);
                qiu3.setText(listdata._$6059796);
                qiu4.setText(listdata._$6059797);
                qiu5.setText(listdata._$6059798);
                qiu6.setText(listdata._$6059799);
                qiu7.setText(listdata._$6059800);
                qiu8.setText(listdata._$6059801);
                qiu9.setText(listdata._$6059802);
                qiu10.setText(listdata._$6059803);
                qiu11.setText(listdata._$6059804);
                qiu12.setText(listdata._$6059805);
                qiu13.setText(listdata._$6059806);
                qiu14.setText(listdata._$6059807);
                qiu15.setText(listdata._$6059808);
                qiu16.setText(listdata._$6059809);
                qiu17.setText(listdata._$6059810);
                qiu18.setText(listdata._$6059811);
                shifen19.setText(listdata._$6059812);
                shifen20.setText(listdata._$6059813);
                shifendas.setText(listdata._$6059814);
                shifenxiaos.setText(listdata._$6059815);
                shifendans.setText(listdata._$6059816);
                shifenshaungs.setText(listdata._$6059817);
                di5longhu.setVisibility(View.GONE);
                shifenhedans.setText(listdata._$6059820);
                shifenheshuangs.setText(listdata._$6059821);
                shifenweidas.setText(listdata._$6059818);
                shiweixiaos.setText(listdata._$6059819);
                shifenlongs.setText(listdata._$6059829);
                shifenhus.setText(listdata._$6059830);
                shifendongs.setText(listdata._$6059822);
                shifennans.setText(listdata._$6059823);
                shifenxis.setText(listdata._$6059824);
                shifenbeis.setText(listdata._$6059825);
                shifenzhongs.setText(listdata._$6059826);
                shifenfas.setText(listdata._$6059827);
                shifenbais.setText(listdata._$6059828);
                linearLayoutsList.add(new Viewbean(qiulin1, qiu1, qiu1, "第六球", "6059794"));
                linearLayoutsList.add(new Viewbean(qiulin2, qiu2, qiu2, "第六球", "6059795"));
                linearLayoutsList.add(new Viewbean(qiulin3, qiu3, qiu3, "第六球", "6059796"));
                linearLayoutsList.add(new Viewbean(qiulin4, qiu4, qiu4, "第六球", "6059797"));
                linearLayoutsList.add(new Viewbean(qiulin5, qiu5, qiu5, "第六球", "6059798"));
                linearLayoutsList.add(new Viewbean(qiulin6, qiu6, qiu6, "第六球", "6059799"));
                linearLayoutsList.add(new Viewbean(qiulin7, qiu7, qiu7, "第六球", "6059800"));
                linearLayoutsList.add(new Viewbean(qiulin8, qiu8, qiu8, "第六球", "6059801"));
                linearLayoutsList.add(new Viewbean(qiulin9, qiu9, qiu9, "第六球", "6059802"));
                linearLayoutsList.add(new Viewbean(qiulin10, qiu10, qiu10, "第六球", "6059803"));
                linearLayoutsList.add(new Viewbean(qiulin11, qiu11, qiu11, "第六球", "6059804"));
                linearLayoutsList.add(new Viewbean(qiulin12, qiu12, qiu12, "第六球", "6059805"));
                linearLayoutsList.add(new Viewbean(qiulin13, qiu13, qiu13, "第六球", "6059806"));
                linearLayoutsList.add(new Viewbean(qiulin14, qiu14, qiu14, "第六球", "6059807"));
                linearLayoutsList.add(new Viewbean(qiulin15, qiu15, qiu15, "第六球", "6059808"));
                linearLayoutsList.add(new Viewbean(qiulin16, qiu16, qiu16, "第六球", "6059809"));
                linearLayoutsList.add(new Viewbean(qiulin17, qiu17, qiu17, "第六球", "6059810"));
                linearLayoutsList.add(new Viewbean(qiulin18, qiu18, qiu18, "第六球", "6059811"));
                linearLayoutsList.add(new Viewbean(shifenlin19, shifen19, shifen19, "第六球", "6059812"));
                linearLayoutsList.add(new Viewbean(shifenlin20, shifen20, shifen20, "第六球", "6059813"));
                linearLayoutsList.add(new Viewbean(shifendalin, shifenda, shifendas, "第六球", "6059814"));
                linearLayoutsList.add(new Viewbean(shifenxiaolin, shifenxiao, shifenxiaos, "第六球", "6059815"));
                linearLayoutsList.add(new Viewbean(shifendanlin, shifendan, shifendans, "第六球", "6059816"));
                linearLayoutsList.add(new Viewbean(shifenshaunglin, shifenshuang, shifenshaungs, "第六球", "6059817"));

                linearLayoutsList.add(new Viewbean(shifenhedanlin, shifenhedan, shifenhedans, "第六球", "6059820"));
                linearLayoutsList.add(new Viewbean(shifenheshuanglin, shifenheshuang, shifenheshuangs, "第六球", "6059821"));
                linearLayoutsList.add(new Viewbean(shifenweidalin, shifenweida, shifenweidas, "第六球", "6059818"));
                linearLayoutsList.add(new Viewbean(shiweixiaolin, shiweixiao, shiweixiaos, "第六球", "6059819"));
                linearLayoutsList.add(new Viewbean(shifenlonglin, shifenlong, shifenlongs, "第六球", "6059829"));
                linearLayoutsList.add(new Viewbean(shifenhulin, shifenhu, shifenhus, "第六球", "6059830"));
                linearLayoutsList.add(new Viewbean(shifendonglin, shifendong, shifendongs, "第六球", "6059822"));
                linearLayoutsList.add(new Viewbean(shifennanlin, shifennan, shifennans, "第六球", "6059823"));
                linearLayoutsList.add(new Viewbean(shifenxilin, shifenxi, shifenxis, "第六球", "6059824"));
                linearLayoutsList.add(new Viewbean(shifenbeilin, shifenbei, shifenbeis, "第六球", "6059825"));
                linearLayoutsList.add(new Viewbean(shifenzhonglin, shifenzhong, shifenzhongs, "第六球", "6059826"));
                linearLayoutsList.add(new Viewbean(shifenfalin, shifenfa, shifenfas, "第六球", "6059827"));
                linearLayoutsList.add(new Viewbean(shifenbailin, shifenbai, shifenbais, "第六球", "6059828"));
                textcolorlist();
            }
        });
        qiu7bt.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                clearview();
                chongzhi();
                ncscro.fullScroll(ScrollView.FOCUS_UP);
                lianmapeilv.setText("");
                qiuliangmianlin.setVisibility(View.GONE);
                qiuxiabanbufen.setVisibility(View.VISIBLE);
                qiutitle.setText("第七球");
                lianmalin.setVisibility(View.GONE);
                bttextsetcolor();
                qiu7bt.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                qiu7bt.setBackgroundColor(getContext().getResources().getColor(R.color.text_color2));
                qiu7bt.setCompoundDrawables(img, null, null, null);
                qiu1.setText(listdata._$6060831);
                qiu2.setText(listdata._$6060832);
                qiu3.setText(listdata._$6060833);
                qiu4.setText(listdata._$6060834);
                qiu5.setText(listdata._$6060835);
                qiu6.setText(listdata._$6060836);
                qiu7.setText(listdata._$6060837);
                qiu8.setText(listdata._$6060838);
                qiu9.setText(listdata._$6060839);
                qiu10.setText(listdata._$6060840);
                qiu11.setText(listdata._$6060841);
                qiu12.setText(listdata._$6060842);
                qiu13.setText(listdata._$6060843);
                qiu14.setText(listdata._$6060844);
                qiu15.setText(listdata._$6060845);
                qiu16.setText(listdata._$6060846);
                qiu17.setText(listdata._$6060847);
                qiu18.setText(listdata._$6060848);
                shifen19.setText(listdata._$6060849);
                shifen20.setText(listdata._$6060850);
                shifendas.setText(listdata._$6060851);
                shifenxiaos.setText(listdata._$6060852);
                shifendans.setText(listdata._$6060853);
                shifenshaungs.setText(listdata._$6060854);
                di5longhu.setVisibility(View.GONE);
                shifenhedans.setText(listdata._$6060857);
                shifenheshuangs.setText(listdata._$6060858);
                shifenweidas.setText(listdata._$6060855);
                shiweixiaos.setText(listdata._$6060856);
                shifenlongs.setText(listdata._$6060856);
                shifenhus.setText(listdata._$6060867);
                shifendongs.setText(listdata._$6060859);
                shifennans.setText(listdata._$6060860);
                shifenxis.setText(listdata._$6060861);
                shifenbeis.setText(listdata._$6060862);
                shifenzhongs.setText(listdata._$6060863);
                shifenfas.setText(listdata._$6060864);
                shifenbais.setText(listdata._$6060865);
                linearLayoutsList.add(new Viewbean(qiulin1, qiu1, qiu1, "第七球", "6060831"));
                linearLayoutsList.add(new Viewbean(qiulin2, qiu2, qiu2, "第七球", "6060832"));
                linearLayoutsList.add(new Viewbean(qiulin3, qiu3, qiu3, "第七球", "6060833"));
                linearLayoutsList.add(new Viewbean(qiulin4, qiu4, qiu4, "第七球", "6060834"));
                linearLayoutsList.add(new Viewbean(qiulin5, qiu5, qiu5, "第七球", "6060835"));
                linearLayoutsList.add(new Viewbean(qiulin6, qiu6, qiu6, "第七球", "6060836"));
                linearLayoutsList.add(new Viewbean(qiulin7, qiu7, qiu7, "第七球", "6060837"));
                linearLayoutsList.add(new Viewbean(qiulin8, qiu8, qiu8, "第七球", "6060838"));
                linearLayoutsList.add(new Viewbean(qiulin9, qiu9, qiu9, "第七球", "6060839"));
                linearLayoutsList.add(new Viewbean(qiulin10, qiu10, qiu10, "第七球", "6060840"));
                linearLayoutsList.add(new Viewbean(qiulin11, qiu11, qiu11, "第七球", "6060841"));
                linearLayoutsList.add(new Viewbean(qiulin12, qiu12, qiu12, "第七球", "6060842"));
                linearLayoutsList.add(new Viewbean(qiulin13, qiu13, qiu13, "第七球", "6060843"));
                linearLayoutsList.add(new Viewbean(qiulin14, qiu14, qiu14, "第七球", "6060844"));
                linearLayoutsList.add(new Viewbean(qiulin15, qiu15, qiu15, "第七球", "6060845"));
                linearLayoutsList.add(new Viewbean(qiulin16, qiu16, qiu16, "第七球", "6060846"));
                linearLayoutsList.add(new Viewbean(qiulin17, qiu17, qiu17, "第七球", "6060847"));
                linearLayoutsList.add(new Viewbean(qiulin18, qiu18, qiu18, "第七球", "6060848"));
                linearLayoutsList.add(new Viewbean(shifenlin19, shifen19, shifen19, "第七球", "6060849"));
                linearLayoutsList.add(new Viewbean(shifenlin20, shifen20, shifen20, "第七球", "6060850"));
                linearLayoutsList.add(new Viewbean(shifendalin, shifenda, shifendas, "第七球", "6060851"));
                linearLayoutsList.add(new Viewbean(shifenxiaolin, shifenxiao, shifenxiaos, "第七球", "6060852"));
                linearLayoutsList.add(new Viewbean(shifendanlin, shifendan, shifendans, "第七球", "6060853"));
                linearLayoutsList.add(new Viewbean(shifenshaunglin, shifenshuang, shifenshaungs, "第七球", "6060854"));

                linearLayoutsList.add(new Viewbean(shifenhedanlin, shifenhedan, shifenhedans, "第七球", "6060857"));
                linearLayoutsList.add(new Viewbean(shifenheshuanglin, shifenheshuang, shifenheshuangs, "第七球", "6060858"));
                linearLayoutsList.add(new Viewbean(shifenweidalin, shifenweida, shifenweidas, "第七球", "6060855"));
                linearLayoutsList.add(new Viewbean(shiweixiaolin, shiweixiao, shiweixiaos, "第七球", "6060856"));
                linearLayoutsList.add(new Viewbean(shifenlonglin, shifenlong, shifenlongs, "第七球", "6060866"));
                linearLayoutsList.add(new Viewbean(shifenhulin, shifenhu, shifenhus, "第七球", "6060867"));
                linearLayoutsList.add(new Viewbean(shifendonglin, shifendong, shifendongs, "第七球", "6060859"));
                linearLayoutsList.add(new Viewbean(shifennanlin, shifennan, shifennans, "第七球", "6060860"));
                linearLayoutsList.add(new Viewbean(shifenxilin, shifenxi, shifenxis, "第七球", "6060861"));
                linearLayoutsList.add(new Viewbean(shifenbeilin, shifenbei, shifenbeis, "第七球", "6060862"));
                linearLayoutsList.add(new Viewbean(shifenzhonglin, shifenzhong, shifenzhongs, "第七球", "6060863"));
                linearLayoutsList.add(new Viewbean(shifenfalin, shifenfa, shifenfas, "第七球", "6060864"));
                linearLayoutsList.add(new Viewbean(shifenbailin, shifenbai, shifenbais, "第七球", "6060865"));
                textcolorlist();
            }
        });
        qiu8bt.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                clearview();
                chongzhi();
                ncscro.fullScroll(ScrollView.FOCUS_UP);
                lianmapeilv.setText("");
                qiuliangmianlin.setVisibility(View.GONE);
                qiuxiabanbufen.setVisibility(View.VISIBLE);
                qiutitle.setText("第八球");
                lianmalin.setVisibility(View.GONE);
                bttextsetcolor();
                qiu8bt.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                qiu8bt.setBackgroundColor(getContext().getResources().getColor(R.color.text_color2));
                qiu8bt.setCompoundDrawables(img, null, null, null);
                qiu1.setText(listdata._$6061868);
                qiu2.setText(listdata._$6061869);
                qiu3.setText(listdata._$6061870);
                qiu4.setText(listdata._$6061871);
                qiu5.setText(listdata._$6061872);
                qiu6.setText(listdata._$6061873);
                qiu7.setText(listdata._$6061874);
                qiu8.setText(listdata._$6061875);
                qiu9.setText(listdata._$6061876);
                qiu10.setText(listdata._$6061877);
                qiu11.setText(listdata._$6061878);
                qiu12.setText(listdata._$6061879);
                qiu13.setText(listdata._$6061880);
                qiu14.setText(listdata._$6061881);
                qiu15.setText(listdata._$6061882);
                qiu16.setText(listdata._$6061883);
                qiu17.setText(listdata._$6061884);
                qiu18.setText(listdata._$6061885);
                shifen19.setText(listdata._$6061886);
                shifen20.setText(listdata._$6061887);
                shifendas.setText(listdata._$6061888);
                shifenxiaos.setText(listdata._$6061889);
                shifendans.setText(listdata._$6061890);
                shifenshaungs.setText(listdata._$6061891);
                di5longhu.setVisibility(View.GONE);
                shifenhedans.setText(listdata._$6061894);
                shifenheshuangs.setText(listdata._$6061895);
                shifenweidas.setText(listdata._$6061892);
                shiweixiaos.setText(listdata._$6061893);
                shifenlongs.setText(listdata._$6061903);
                shifenhus.setText(listdata._$6061904);
                shifendongs.setText(listdata._$6061896);
                shifennans.setText(listdata._$6061897);
                shifenxis.setText(listdata._$6061898);
                shifenbeis.setText(listdata._$6061899);
                shifenzhongs.setText(listdata._$6061900);
                shifenfas.setText(listdata._$6061901);
                shifenbais.setText(listdata._$6061902);
                linearLayoutsList.add(new Viewbean(qiulin1, qiu1, qiu1, "第八球", "6061868"));
                linearLayoutsList.add(new Viewbean(qiulin2, qiu2, qiu2, "第八球", "6061869"));
                linearLayoutsList.add(new Viewbean(qiulin3, qiu3, qiu3, "第八球", "6061870"));
                linearLayoutsList.add(new Viewbean(qiulin4, qiu4, qiu4, "第八球", "6061871"));
                linearLayoutsList.add(new Viewbean(qiulin5, qiu5, qiu5, "第八球", "6061872"));
                linearLayoutsList.add(new Viewbean(qiulin6, qiu6, qiu6, "第八球", "6061873"));
                linearLayoutsList.add(new Viewbean(qiulin7, qiu7, qiu7, "第八球", "6061874"));
                linearLayoutsList.add(new Viewbean(qiulin8, qiu8, qiu8, "第八球", "6061875"));
                linearLayoutsList.add(new Viewbean(qiulin9, qiu9, qiu9, "第八球", "6061876"));
                linearLayoutsList.add(new Viewbean(qiulin10, qiu10, qiu10, "第八球", "6061877"));
                linearLayoutsList.add(new Viewbean(qiulin11, qiu11, qiu11, "第八球", "6061878"));
                linearLayoutsList.add(new Viewbean(qiulin12, qiu12, qiu12, "第八球", "6061879"));
                linearLayoutsList.add(new Viewbean(qiulin13, qiu13, qiu13, "第八球", "6061880"));
                linearLayoutsList.add(new Viewbean(qiulin14, qiu14, qiu14, "第八球", "6061881"));
                linearLayoutsList.add(new Viewbean(qiulin15, qiu15, qiu15, "第八球", "6061882"));
                linearLayoutsList.add(new Viewbean(qiulin16, qiu16, qiu16, "第八球", "6061883"));
                linearLayoutsList.add(new Viewbean(qiulin17, qiu17, qiu17, "第八球", "6061884"));
                linearLayoutsList.add(new Viewbean(qiulin18, qiu18, qiu18, "第八球", "6061885"));
                linearLayoutsList.add(new Viewbean(shifenlin19, shifen19, shifen19, "第八球", "6061886"));
                linearLayoutsList.add(new Viewbean(shifenlin20, shifen20, shifen20, "第八球", "6061887"));
                linearLayoutsList.add(new Viewbean(shifendalin, shifenda, shifendas, "第八球", "6061888"));
                linearLayoutsList.add(new Viewbean(shifenxiaolin, shifenxiao, shifenxiaos, "第八球", "6061889"));
                linearLayoutsList.add(new Viewbean(shifendanlin, shifendan, shifendans, "第八球", "6061890"));
                linearLayoutsList.add(new Viewbean(shifenshaunglin, shifenshuang, shifenshaungs, "第八球", "6061891"));

                linearLayoutsList.add(new Viewbean(shifenhedanlin, shifenhedan, shifenhedans, "第八球", "6061894"));
                linearLayoutsList.add(new Viewbean(shifenheshuanglin, shifenheshuang, shifenheshuangs, "第八球", "6061895"));
                linearLayoutsList.add(new Viewbean(shifenweidalin, shifenweida, shifenweidas, "第八球", "6061892"));
                linearLayoutsList.add(new Viewbean(shiweixiaolin, shiweixiao, shiweixiaos, "第八球", "6061893"));
                linearLayoutsList.add(new Viewbean(shifenlonglin, shifenlong, shifenlongs, "第八球", "6061903"));
                linearLayoutsList.add(new Viewbean(shifenhulin, shifenhu, shifenhus, "第八球", "6061904"));
                linearLayoutsList.add(new Viewbean(shifendonglin, shifendong, shifendongs, "第八球", "6061896"));
                linearLayoutsList.add(new Viewbean(shifennanlin, shifennan, shifennans, "第八球", "6061897"));
                linearLayoutsList.add(new Viewbean(shifenxilin, shifenxi, shifenxis, "第八球", "6061898"));
                linearLayoutsList.add(new Viewbean(shifenbeilin, shifenbei, shifenbeis, "第八球", "6061899"));
                linearLayoutsList.add(new Viewbean(shifenzhonglin, shifenzhong, shifenzhongs, "第八球", "6061900"));
                linearLayoutsList.add(new Viewbean(shifenfalin, shifenfa, shifenfas, "第八球", "6061901"));
                linearLayoutsList.add(new Viewbean(shifenbailin, shifenbai, shifenbais, "第八球", "6061902"));
                textcolorlist();
            }
        });
        qiulianmabt.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                clearview();
                chongzhi();
                lianmapeilv.setText("");
                qiuliangmianlin.setVisibility(View.GONE);
                qiuxiabanbufen.setVisibility(View.GONE);
                lianmapeilv.setVisibility(View.VISIBLE);
                lianmalin.setVisibility(View.VISIBLE);
                bttextsetcolor();
                qiulianmabt.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                qiulianmabt.setBackgroundColor(getContext().getResources().getColor(R.color.text_color2));
                qiulianmabt.setCompoundDrawables(img, null, null, null);
                lianmapeilv.setText(listdata._$6063925);
                renxuan1.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                renxuan1.setBackgroundColor(getContext().getResources().getColor(R.color.text_color2));
                linearLayoutsList.add(new Viewbean(lianma1lin, lianma1, lianmapeilv, "任选二", "6063925"));
                linearLayoutsList.add(new Viewbean(lianma2lin, lianma2, lianmapeilv, "任选二", "6063925"));
                linearLayoutsList.add(new Viewbean(lianma3lin, lianma3, lianmapeilv, "任选二", "6063925"));
                linearLayoutsList.add(new Viewbean(lianma4lin, lianma4, lianmapeilv, "任选二", "6063925"));
                linearLayoutsList.add(new Viewbean(lianma5lin, lianma5, lianmapeilv, "任选二", "6063925"));
                linearLayoutsList.add(new Viewbean(lianma6lin, lianma6, lianmapeilv, "任选二", "6063925"));
                linearLayoutsList.add(new Viewbean(lianma7lin, lianma7, lianmapeilv, "任选二", "6063925"));
                linearLayoutsList.add(new Viewbean(lianma8lin, lianma8, lianmapeilv, "任选二", "6063925"));
                linearLayoutsList.add(new Viewbean(lianma9lin, lianma9, lianmapeilv, "任选二", "6063925"));
                linearLayoutsList.add(new Viewbean(lianma10lin, lianma10, lianmapeilv, "任选二", "6063925"));
                linearLayoutsList.add(new Viewbean(lianma11lin, lianma11, lianmapeilv, "任选二", "6063925"));
                linearLayoutsList.add(new Viewbean(lianma12lin, lianma12, lianmapeilv, "任选二", "6063925"));
                linearLayoutsList.add(new Viewbean(lianma13lin, lianma13, lianmapeilv, "任选二", "6063925"));
                linearLayoutsList.add(new Viewbean(lianma14lin, lianma14, lianmapeilv, "任选二", "6063925"));
                linearLayoutsList.add(new Viewbean(lianma15lin, lianma15, lianmapeilv, "任选二", "6063925"));
                linearLayoutsList.add(new Viewbean(lianma16lin, lianma16, lianmapeilv, "任选二", "6063925"));
                linearLayoutsList.add(new Viewbean(lianma17lin, lianma17, lianmapeilv, "任选二", "6063925"));
                linearLayoutsList.add(new Viewbean(lianma18lin, lianma18, lianmapeilv, "任选二", "6063925"));
                linearLayoutsList.add(new Viewbean(lianma19lin, lianma19, lianmapeilv, "任选二", "6063925"));
                linearLayoutsList.add(new Viewbean(lianma20lin, lianma20, lianmapeilv, "任选二", "6063925"));
                textcolorlist();
                clearview();
            }
        });
        renxuan1.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                bttextsetcolor();
                clearview();
                chongzhi();
                lianmapeilv.setText(listdata._$6063925);
                renxuan1.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                renxuan1.setBackgroundColor(getContext().getResources().getColor(R.color.text_color2));
                qiulianmabt.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                linearLayoutsList.add(new Viewbean(lianma1lin, lianma1, lianmapeilv, "任选二", "6063925"));
                linearLayoutsList.add(new Viewbean(lianma2lin, lianma2, lianmapeilv, "任选二", "6063925"));
                linearLayoutsList.add(new Viewbean(lianma3lin, lianma3, lianmapeilv, "任选二", "6063925"));
                linearLayoutsList.add(new Viewbean(lianma4lin, lianma4, lianmapeilv, "任选二", "6063925"));
                linearLayoutsList.add(new Viewbean(lianma5lin, lianma5, lianmapeilv, "任选二", "6063925"));
                linearLayoutsList.add(new Viewbean(lianma6lin, lianma6, lianmapeilv, "任选二", "6063925"));
                linearLayoutsList.add(new Viewbean(lianma7lin, lianma7, lianmapeilv, "任选二", "6063925"));
                linearLayoutsList.add(new Viewbean(lianma8lin, lianma8, lianmapeilv, "任选二", "6063925"));
                linearLayoutsList.add(new Viewbean(lianma9lin, lianma9, lianmapeilv, "任选二", "6063925"));
                linearLayoutsList.add(new Viewbean(lianma10lin, lianma10, lianmapeilv, "任选二", "6063925"));
                linearLayoutsList.add(new Viewbean(lianma11lin, lianma11, lianmapeilv, "任选二", "6063925"));
                linearLayoutsList.add(new Viewbean(lianma12lin, lianma12, lianmapeilv, "任选二", "6063925"));
                linearLayoutsList.add(new Viewbean(lianma13lin, lianma13, lianmapeilv, "任选二", "6063925"));
                linearLayoutsList.add(new Viewbean(lianma14lin, lianma14, lianmapeilv, "任选二", "6063925"));
                linearLayoutsList.add(new Viewbean(lianma15lin, lianma15, lianmapeilv, "任选二", "6063925"));
                linearLayoutsList.add(new Viewbean(lianma16lin, lianma16, lianmapeilv, "任选二", "6063925"));
                linearLayoutsList.add(new Viewbean(lianma17lin, lianma17, lianmapeilv, "任选二", "6063925"));
                linearLayoutsList.add(new Viewbean(lianma18lin, lianma18, lianmapeilv, "任选二", "6063925"));
                linearLayoutsList.add(new Viewbean(lianma19lin, lianma19, lianmapeilv, "任选二", "6063925"));
                linearLayoutsList.add(new Viewbean(lianma20lin, lianma20, lianmapeilv, "任选二", "6063925"));
                textcolorlist();
                clearview();
            }
        });
        renxuan2.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                bttextsetcolor();
                clearview();
                chongzhi();
                renxuan2.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                renxuan2.setBackgroundColor(getContext().getResources().getColor(R.color.text_color2));
                qiulianmabt.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                lianmapeilv.setText(listdata._$6063926);
                linearLayoutsList.add(new Viewbean(lianma1lin, lianma1, lianmapeilv, "任选二组", "6063926"));
                linearLayoutsList.add(new Viewbean(lianma2lin, lianma2, lianmapeilv, "任选二组", "6063926"));
                linearLayoutsList.add(new Viewbean(lianma3lin, lianma3, lianmapeilv, "任选二组", "6063926"));
                linearLayoutsList.add(new Viewbean(lianma4lin, lianma4, lianmapeilv, "任选二组", "6063926"));
                linearLayoutsList.add(new Viewbean(lianma5lin, lianma5, lianmapeilv, "任选二组", "6063926"));
                linearLayoutsList.add(new Viewbean(lianma6lin, lianma6, lianmapeilv, "任选二组", "6063926"));
                linearLayoutsList.add(new Viewbean(lianma7lin, lianma7, lianmapeilv, "任选二组", "6063926"));
                linearLayoutsList.add(new Viewbean(lianma8lin, lianma8, lianmapeilv, "任选二组", "6063926"));
                linearLayoutsList.add(new Viewbean(lianma9lin, lianma9, lianmapeilv, "任选二组", "6063926"));
                linearLayoutsList.add(new Viewbean(lianma10lin, lianma10, lianmapeilv, "任选二组", "6063926"));
                linearLayoutsList.add(new Viewbean(lianma11lin, lianma11, lianmapeilv, "任选二组", "6063926"));
                linearLayoutsList.add(new Viewbean(lianma12lin, lianma12, lianmapeilv, "任选二组", "6063926"));
                linearLayoutsList.add(new Viewbean(lianma13lin, lianma13, lianmapeilv, "任选二组", "6063926"));
                linearLayoutsList.add(new Viewbean(lianma14lin, lianma14, lianmapeilv, "任选二组", "6063926"));
                linearLayoutsList.add(new Viewbean(lianma15lin, lianma15, lianmapeilv, "任选二组", "6063926"));
                linearLayoutsList.add(new Viewbean(lianma16lin, lianma16, lianmapeilv, "任选二组", "6063926"));
                linearLayoutsList.add(new Viewbean(lianma17lin, lianma17, lianmapeilv, "任选二组", "6063926"));
                linearLayoutsList.add(new Viewbean(lianma18lin, lianma18, lianmapeilv, "任选二组", "6063926"));
                linearLayoutsList.add(new Viewbean(lianma19lin, lianma19, lianmapeilv, "任选二组", "6063926"));
                linearLayoutsList.add(new Viewbean(lianma20lin, lianma20, lianmapeilv, "任选二组", "6063926"));
                textcolorlist();
                clearview();
            }
        });
        renxuan3.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                bttextsetcolor();
                clearview();
                chongzhi();
                lianmapeilv.setText("");
                renxuan3.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                renxuan3.setBackgroundColor(getContext().getResources().getColor(R.color.text_color2));
                qiulianmabt.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                lianmapeilv.setText(listdata._$6063927);
                linearLayoutsList.add(new Viewbean(lianma1lin, lianma1, lianmapeilv, "任选三", "6063927"));
                linearLayoutsList.add(new Viewbean(lianma2lin, lianma2, lianmapeilv, "任选三", "6063927"));
                linearLayoutsList.add(new Viewbean(lianma3lin, lianma3, lianmapeilv, "任选三", "6063927"));
                linearLayoutsList.add(new Viewbean(lianma4lin, lianma4, lianmapeilv, "任选三", "6063927"));
                linearLayoutsList.add(new Viewbean(lianma5lin, lianma5, lianmapeilv, "任选三", "6063927"));
                linearLayoutsList.add(new Viewbean(lianma6lin, lianma6, lianmapeilv, "任选三", "6063927"));
                linearLayoutsList.add(new Viewbean(lianma7lin, lianma7, lianmapeilv, "任选三", "6063927"));
                linearLayoutsList.add(new Viewbean(lianma8lin, lianma8, lianmapeilv, "任选三", "6063927"));
                linearLayoutsList.add(new Viewbean(lianma9lin, lianma9, lianmapeilv, "任选三", "6063927"));
                linearLayoutsList.add(new Viewbean(lianma10lin, lianma10, lianmapeilv, "任选三", "6063927"));
                linearLayoutsList.add(new Viewbean(lianma11lin, lianma11, lianmapeilv, "任选三", "6063927"));
                linearLayoutsList.add(new Viewbean(lianma12lin, lianma12, lianmapeilv, "任选三", "6063927"));
                linearLayoutsList.add(new Viewbean(lianma13lin, lianma13, lianmapeilv, "任选三", "6063927"));
                linearLayoutsList.add(new Viewbean(lianma14lin, lianma14, lianmapeilv, "任选三", "6063927"));
                linearLayoutsList.add(new Viewbean(lianma15lin, lianma15, lianmapeilv, "任选三", "6063927"));
                linearLayoutsList.add(new Viewbean(lianma16lin, lianma16, lianmapeilv, "任选三", "6063927"));
                linearLayoutsList.add(new Viewbean(lianma17lin, lianma17, lianmapeilv, "任选三", "6063927"));
                linearLayoutsList.add(new Viewbean(lianma18lin, lianma18, lianmapeilv, "任选三", "6063927"));
                linearLayoutsList.add(new Viewbean(lianma19lin, lianma19, lianmapeilv, "任选三", "6063927"));
                linearLayoutsList.add(new Viewbean(lianma20lin, lianma20, lianmapeilv, "任选三", "6063927"));
                textcolorlist();
                clearview();
            }
        });
        renxuan4.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                bttextsetcolor();
                clearview();
                chongzhi();
                lianmapeilv.setText("");
                renxuan4.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                renxuan4.setBackgroundColor(getContext().getResources().getColor(R.color.text_color2));
                qiulianmabt.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                lianmapeilv.setText(listdata._$6063929);
                linearLayoutsList.add(new Viewbean(lianma1lin, lianma1, lianmapeilv, "任选四", "6063929"));
                linearLayoutsList.add(new Viewbean(lianma2lin, lianma2, lianmapeilv, "任选四", "6063929"));
                linearLayoutsList.add(new Viewbean(lianma3lin, lianma3, lianmapeilv, "任选四", "6063929"));
                linearLayoutsList.add(new Viewbean(lianma4lin, lianma4, lianmapeilv, "任选四", "6063929"));
                linearLayoutsList.add(new Viewbean(lianma5lin, lianma5, lianmapeilv, "任选四", "6063929"));
                linearLayoutsList.add(new Viewbean(lianma6lin, lianma6, lianmapeilv, "任选四", "6063929"));
                linearLayoutsList.add(new Viewbean(lianma7lin, lianma7, lianmapeilv, "任选四", "6063929"));
                linearLayoutsList.add(new Viewbean(lianma8lin, lianma8, lianmapeilv, "任选四", "6063929"));
                linearLayoutsList.add(new Viewbean(lianma9lin, lianma9, lianmapeilv, "任选四", "6063929"));
                linearLayoutsList.add(new Viewbean(lianma10lin, lianma10, lianmapeilv, "任选四", "6063929"));
                linearLayoutsList.add(new Viewbean(lianma11lin, lianma11, lianmapeilv, "任选四", "6063929"));
                linearLayoutsList.add(new Viewbean(lianma12lin, lianma12, lianmapeilv, "任选四", "6063929"));
                linearLayoutsList.add(new Viewbean(lianma13lin, lianma13, lianmapeilv, "任选四", "6063929"));
                linearLayoutsList.add(new Viewbean(lianma14lin, lianma14, lianmapeilv, "任选四", "6063929"));
                linearLayoutsList.add(new Viewbean(lianma15lin, lianma15, lianmapeilv, "任选四", "6063929"));
                linearLayoutsList.add(new Viewbean(lianma16lin, lianma16, lianmapeilv, "任选四", "6063929"));
                linearLayoutsList.add(new Viewbean(lianma17lin, lianma17, lianmapeilv, "任选四", "6063929"));
                linearLayoutsList.add(new Viewbean(lianma18lin, lianma18, lianmapeilv, "任选四", "6063929"));
                linearLayoutsList.add(new Viewbean(lianma19lin, lianma19, lianmapeilv, "任选四", "6063929"));
                linearLayoutsList.add(new Viewbean(lianma20lin, lianma20, lianmapeilv, "任选四", "6063929"));
                textcolorlist();
                clearview();
            }
        });
        renxuan5.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                bttextsetcolor();
                clearview();
                chongzhi();
                lianmapeilv.setText("");
                renxuan5.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                renxuan5.setBackgroundColor(getContext().getResources().getColor(R.color.text_color2));
                qiulianmabt.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                lianmapeilv.setText(listdata._$6063930);
                linearLayoutsList.add(new Viewbean(lianma1lin, lianma1, lianmapeilv, "任选五", "6063930"));
                linearLayoutsList.add(new Viewbean(lianma2lin, lianma2, lianmapeilv, "任选五", "6063930"));
                linearLayoutsList.add(new Viewbean(lianma3lin, lianma3, lianmapeilv, "任选五", "6063930"));
                linearLayoutsList.add(new Viewbean(lianma4lin, lianma4, lianmapeilv, "任选五", "6063930"));
                linearLayoutsList.add(new Viewbean(lianma5lin, lianma5, lianmapeilv, "任选五", "6063930"));
                linearLayoutsList.add(new Viewbean(lianma6lin, lianma6, lianmapeilv, "任选五", "6063930"));
                linearLayoutsList.add(new Viewbean(lianma7lin, lianma7, lianmapeilv, "任选五", "6063930"));
                linearLayoutsList.add(new Viewbean(lianma8lin, lianma8, lianmapeilv, "任选五", "6063930"));
                linearLayoutsList.add(new Viewbean(lianma9lin, lianma9, lianmapeilv, "任选五", "6063930"));
                linearLayoutsList.add(new Viewbean(lianma10lin, lianma10, lianmapeilv, "任选五", "6063930"));
                linearLayoutsList.add(new Viewbean(lianma11lin, lianma11, lianmapeilv, "任选五", "6063930"));
                linearLayoutsList.add(new Viewbean(lianma12lin, lianma12, lianmapeilv, "任选五", "6063930"));
                linearLayoutsList.add(new Viewbean(lianma13lin, lianma13, lianmapeilv, "任选五", "6063930"));
                linearLayoutsList.add(new Viewbean(lianma14lin, lianma14, lianmapeilv, "任选五", "6063930"));
                linearLayoutsList.add(new Viewbean(lianma15lin, lianma15, lianmapeilv, "任选五", "6063930"));
                linearLayoutsList.add(new Viewbean(lianma16lin, lianma16, lianmapeilv, "任选五", "6063930"));
                linearLayoutsList.add(new Viewbean(lianma17lin, lianma17, lianmapeilv, "任选五", "6063930"));
                linearLayoutsList.add(new Viewbean(lianma18lin, lianma18, lianmapeilv, "任选五", "6063930"));
                linearLayoutsList.add(new Viewbean(lianma19lin, lianma19, lianmapeilv, "任选五", "6063930"));
                linearLayoutsList.add(new Viewbean(lianma20lin, lianma20, lianmapeilv, "任选五", "6063930"));
                textcolorlist();
                clearview();
            }
        });
        qiuzonghedas.setText(listdata._$6053603);
        qiuzonghexiaos.setText(listdata._$6053604);
        qiuzonghedans.setText(listdata._$6053605);
        qiuzongheshuangs.setText(listdata._$6053606);
        zongweidas.setText(listdata._$6053607);
        zongweixiaos.setText(listdata._$6053608);
        linearLayoutsList.add(new Viewbean(qiuzonghedalin, qiuzongheda, qiuzonghedas, "两面", "6053603"));
        linearLayoutsList.add(new Viewbean(qiuzonghexiaolin, qiuzonghexiao, qiuzonghexiaos, "两面", "6053604"));
        linearLayoutsList.add(new Viewbean(qiuzonghedanlin, qiuzonghedan, qiuzonghedans, "两面", "6053605"));
        linearLayoutsList.add(new Viewbean(qiuzongheshaunglin, qiuzongheshuang, qiuzongheshuangs, "两面", "6053606"));
        linearLayoutsList.add(new Viewbean(zongweidalin, zongweida, zongweidas, "两面", "6053607"));
        linearLayoutsList.add(new Viewbean(zongweixiaolin, zongweixiao, zongweixiaos, "两面", "6053608"));
        qiu1das.setText(listdata._$6054629);
        qiu1xiaos.setText(listdata._$6054630);
        qiu1dans.setText(listdata._$6054631);
        qiu1shuangs.setText(listdata._$6054632);
        qiu1hedans.setText(listdata._$6054635);
        qiu1heshaungs.setText(listdata._$6054636);
        qiu1weidas.setText(listdata._$6054633);
        qiu1weixiaos.setText(listdata._$6054634);
        qiu1longs.setText(listdata._$6054644);
        qiu1hus.setText(listdata._$6054645);
        linearLayoutsList.add(new Viewbean(qiu1dalin, qiu1da, qiu1das, "第一球", "6054629"));
        linearLayoutsList.add(new Viewbean(qiu1xiaolin, qiu1xiao, qiu1xiaos, "第一球", "6054630"));
        linearLayoutsList.add(new Viewbean(qiu1danlin, qiu1dan, qiu1dans, "第一球", "6054631"));
        linearLayoutsList.add(new Viewbean(qiu1shaunglin, qiu1shuang, qiu1shuangs, "第一球", "6054632"));

        linearLayoutsList.add(new Viewbean(qiu1hedanlin, qiu1hedan, qiu1hedans, "第一球", "6054635"));
        linearLayoutsList.add(new Viewbean(qiu1heshaunglin, qiu1heshaung, qiu1heshaungs, "第一球", "6054636"));
        linearLayoutsList.add(new Viewbean(qiu1weidalin, qiu1weida, qiu1weidas, "第一球", "6054633"));
        linearLayoutsList.add(new Viewbean(qiu1weixiaolin, qiu1weixiao, qiu1weixiaos, "第一球", "6054634"));
        linearLayoutsList.add(new Viewbean(qiu1longlin, qiu1long, qiu1longs, "第一球", "6054644"));
        linearLayoutsList.add(new Viewbean(qiu1hulin, qiu1hu, qiu1hus, "第一球", "6054645"));

        qiu2das.setText(listdata._$6055666);
        qiu2xiaos.setText(listdata._$6055667);
        qiu2dans.setText(listdata._$6055668);
        qiu2shuangs.setText(listdata._$6055669);
        qiu2hedans.setText(listdata._$6055672);
        qiu2heshaungs.setText(listdata._$6055673);
        qiu2weidas.setText(listdata._$6055670);
        qiu2weixiaos.setText(listdata._$6055671);
        qiu2longs.setText(listdata._$6055681);
        qiu2hus.setText(listdata._$6055682);
        linearLayoutsList.add(new Viewbean(qiu2dalin, qiu2da, qiu2das, "第二球", "6055666"));
        linearLayoutsList.add(new Viewbean(qiu2xiaolin, qiu2xiao, qiu2xiaos, "第二球", "6055667"));
        linearLayoutsList.add(new Viewbean(qiu2danlin, qiu2dan, qiu2dans, "第二球", "6055668"));
        linearLayoutsList.add(new Viewbean(qiu2shaunglin, qiu2shuang, qiu2shuangs, "第二球", "6055669"));
        linearLayoutsList.add(new Viewbean(qiu2hedanlin, qiu2hedan, qiu2hedans, "第二球", "6055672"));
        linearLayoutsList.add(new Viewbean(qiu2heshaunglin, qiu2heshaung, qiu2heshaungs, "第二球", "6055673"));
        linearLayoutsList.add(new Viewbean(qiu2weidalin, qiu2weida, qiu2weidas, "第二球", "6055670"));
        linearLayoutsList.add(new Viewbean(qiu2weixiaolin, qiu2weixiao, qiu2weixiaos, "第二球", "6055671"));
        linearLayoutsList.add(new Viewbean(qiu2longlin, qiu2long, qiu2longs, "第二球", "6055681"));
        linearLayoutsList.add(new Viewbean(qiu2hulin, qiu2hu, qiu2hus, "第二球", "6055682"));

        qiu3das.setText(listdata._$6056703);
        qiu3xiaos.setText(listdata._$6056704);
        qiu3dans.setText(listdata._$6056705);
        qiu3shuangs.setText(listdata._$6056706);
        qiu3hedans.setText(listdata._$6056709);
        qiu3heshaungs.setText(listdata._$6056710);
        qiu3weidas.setText(listdata._$6056707);
        qiu3weixiaos.setText(listdata._$6056708);
        qiu3longs.setText(listdata._$6056718);
        qiu3hus.setText(listdata._$6056719);
        linearLayoutsList.add(new Viewbean(qiu3dalin, qiu3da, qiu3das, "第三球", "6056703"));
        linearLayoutsList.add(new Viewbean(qiu3xiaolin, qiu3xiao, qiu3xiaos, "第三球", "6056704"));
        linearLayoutsList.add(new Viewbean(qiu3danlin, qiu3dan, qiu3dans, "第三球", "6056705"));
        linearLayoutsList.add(new Viewbean(qiu3shaunglin, qiu3shuang, qiu3shuangs, "第三球", "6056706"));
        linearLayoutsList.add(new Viewbean(qiu3hedanlin, qiu3hedan, qiu3hedans, "第三球", "6056709"));
        linearLayoutsList.add(new Viewbean(qiu3heshaunglin, qiu3heshaung, qiu3heshaungs, "第三球", "6056710"));
        linearLayoutsList.add(new Viewbean(qiu3weidalin, qiu3weida, qiu3weidas, "第三球", "6056707"));
        linearLayoutsList.add(new Viewbean(qiu3weixiaolin, qiu3weixiao, qiu3weixiaos, "第三球", "6056708"));
        linearLayoutsList.add(new Viewbean(qiu3longlin, qiu3long, qiu3longs, "第三球", "6056718"));
        linearLayoutsList.add(new Viewbean(qiu3hulin, qiu3hu, qiu3hus, "第三球", "6056719"));

        qiu4das.setText(listdata._$6057740);
        qiu4xiaos.setText(listdata._$6057741);
        qiu4dans.setText(listdata._$6057742);
        qiu4shuangs.setText(listdata._$6057743);
        qiu4hedans.setText(listdata._$6057746);
        qiu4heshaungs.setText(listdata._$6057747);
        qiu4weidas.setText(listdata._$6057744);
        qiu4weixiaos.setText(listdata._$6057745);
        qiu4longs.setText(listdata._$6057755);
        qiu4hus.setText(listdata._$6057756);
        linearLayoutsList.add(new Viewbean(qiu4dalin, qiu4da, qiu4das, "第四球", "6057740"));
        linearLayoutsList.add(new Viewbean(qiu4xiaolin, qiu4xiao, qiu4xiaos, "第四球", "6057741"));
        linearLayoutsList.add(new Viewbean(qiu4danlin, qiu4dan, qiu4dans, "第四球", "6057742"));
        linearLayoutsList.add(new Viewbean(qiu4shaunglin, qiu4shuang, qiu4shuangs, "第四球", "6057743"));
        linearLayoutsList.add(new Viewbean(qiu4hedanlin, qiu4hedan, qiu4hedans, "第四球", "6057746"));
        linearLayoutsList.add(new Viewbean(qiu4heshaunglin, qiu4heshaung, qiu4heshaungs, "第四球", "6057747"));
        linearLayoutsList.add(new Viewbean(qiu4weidalin, qiu4weida, qiu4weidas, "第四球", "6057744"));
        linearLayoutsList.add(new Viewbean(qiu4weixiaolin, qiu4weixiao, qiu4weixiaos, "第四球", "6057745"));
        linearLayoutsList.add(new Viewbean(qiu4longlin, qiu4long, qiu4longs, "第四球", "6057755"));
        linearLayoutsList.add(new Viewbean(qiu4hulin, qiu4hu, qiu4hus, "第四球", "6057756"));

        qiu5das.setText(listdata._$6058777);
        qiu5xiaos.setText(listdata._$6058778);
        qiu5dans.setText(listdata._$6058779);
        qiu5shuangs.setText(listdata._$6058780);
        qiu5hedans.setText(listdata._$6058783);
        qiu5heshaungs.setText(listdata._$6058784);
        qiu5weidas.setText(listdata._$6058781);
        qiu5weixiaos.setText(listdata._$6058782);
        qiu5longs.setText(listdata._$6058792);
        qiu5hus.setText(listdata._$6058793);
        longhu5.setVisibility(View.GONE);
        linearLayoutsList.add(new Viewbean(qiu5dalin, qiu5da, qiu5das, "第五球", "6058777"));
        linearLayoutsList.add(new Viewbean(qiu5xiaolin, qiu5xiao, qiu5xiaos, "第五球", "6058778"));
        linearLayoutsList.add(new Viewbean(qiu5danlin, qiu5dan, qiu5dans, "第五球", "6058779"));
        linearLayoutsList.add(new Viewbean(qiu5shaunglin, qiu5shuang, qiu5shuangs, "第五球", "6058780"));
        linearLayoutsList.add(new Viewbean(qiu5hedanlin, qiu5hedan, qiu5hedans, "第五球", "6058783"));
        linearLayoutsList.add(new Viewbean(qiu5heshaunglin, qiu5heshaung, qiu5heshaungs, "第五球", "6058784"));
        linearLayoutsList.add(new Viewbean(qiu5weidalin, qiu5weida, qiu5weidas, "第五球", "6058781"));
        linearLayoutsList.add(new Viewbean(qiu5weixiaolin, qiu5weixiao, qiu5weixiaos, "第五球", "6058782"));
        linearLayoutsList.add(new Viewbean(qiu5longlin, qiu5long, qiu5longs, "第五球", "6058792"));
        linearLayoutsList.add(new Viewbean(qiu5hulin, qiu5hu, qiu5hus, "第五球", "6058793"));

        qiu6das.setText(listdata._$6059814);
        qiu6xiaos.setText(listdata._$6059815);
        qiu6dans.setText(listdata._$6059816);
        qiu6shuangs.setText(listdata._$6059817);
        qiu6hedans.setText(listdata._$6059820);
        qiu6heshaungs.setText(listdata._$6059821);
        qiu6weidas.setText(listdata._$6059818);
        qiu6weixiaos.setText(listdata._$6059819);
        qiu6longs.setText(listdata._$6059829);
        qiu6hus.setText(listdata._$6059830);
        longhu6.setVisibility(View.GONE);
        linearLayoutsList.add(new Viewbean(qiu6dalin, qiu6da, qiu6das, "第六球", "6059814"));
        linearLayoutsList.add(new Viewbean(qiu6xiaolin, qiu6xiao, qiu6xiaos, "第六球", "6059815"));
        linearLayoutsList.add(new Viewbean(qiu6danlin, qiu6dan, qiu6dans, "第六球", "6059816"));
        linearLayoutsList.add(new Viewbean(qiu6shaunglin, qiu6shuang, qiu6shuangs, "第六球", "6059817"));
        linearLayoutsList.add(new Viewbean(qiu6hedanlin, qiu6hedan, qiu6hedans, "第六球", "6059820"));
        linearLayoutsList.add(new Viewbean(qiu6heshaunglin, qiu6heshaung, qiu6heshaungs, "第六球", "6059821"));
        linearLayoutsList.add(new Viewbean(qiu6weidalin, qiu6weida, qiu6weidas, "第六球", "6059818"));
        linearLayoutsList.add(new Viewbean(qiu6weixiaolin, qiu6weixiao, qiu6weixiaos, "第六球", "6059819"));
        linearLayoutsList.add(new Viewbean(qiu6longlin, qiu6long, qiu6longs, "第六球", "6059829"));
        linearLayoutsList.add(new Viewbean(qiu6hulin, qiu6hu, qiu6hus, "第六球", "6059830"));

        qiu7das.setText(listdata._$6060851);
        qiu7xiaos.setText(listdata._$6060852);
        qiu7dans.setText(listdata._$6060853);
        qiu7shuangs.setText(listdata._$6060854);
        qiu7hedans.setText(listdata._$6060857);
        qiu7heshaungs.setText(listdata._$6060858);
        qiu7weidas.setText(listdata._$6060855);
        qiu7weixiaos.setText(listdata._$6060856);
        qiu7longs.setText(listdata._$6060866);
        qiu7hus.setText(listdata._$6060867);
        longhu7.setVisibility(View.GONE);
        linearLayoutsList.add(new Viewbean(qiu7dalin, qiu7da, qiu7das, "第七球", "6060851"));
        linearLayoutsList.add(new Viewbean(qiu7xiaolin, qiu7xiao, qiu7xiaos, "第七球", "6060852"));
        linearLayoutsList.add(new Viewbean(qiu7danlin, qiu7dan, qiu7dans, "第七球", "6060853"));
        linearLayoutsList.add(new Viewbean(qiu7shaunglin, qiu7shuang, qiu7shuangs, "第七球", "6060854"));
        linearLayoutsList.add(new Viewbean(qiu7hedanlin, qiu7hedan, qiu7hedans, "第七球", "6060857"));
        linearLayoutsList.add(new Viewbean(qiu7heshaunglin, qiu7heshaung, qiu7heshaungs, "第七球", "6060858"));
        linearLayoutsList.add(new Viewbean(qiu7weidalin, qiu7weida, qiu7weidas, "第七球", "6060855"));
        linearLayoutsList.add(new Viewbean(qiu7weixiaolin, qiu7weixiao, qiu7weixiaos, "第七球", "6060856"));
        linearLayoutsList.add(new Viewbean(qiu7longlin, qiu7long, qiu7longs, "第七球", "6060866"));
        linearLayoutsList.add(new Viewbean(qiu7hulin, qiu7hu, qiu7hus, "第七球", "6060867"));

        qiu8das.setText(listdata._$6061888);
        qiu8xiaos.setText(listdata._$6061889);
        qiu8dans.setText(listdata._$6061890);
        qiu8shuangs.setText(listdata._$6061891);
        qiu8hedans.setText(listdata._$6061894);
        qiu8heshaungs.setText(listdata._$6061895);
        qiu8weidas.setText(listdata._$6061892);
        qiu8weixiaos.setText(listdata._$6061893);
        qiu8longs.setText(listdata._$6061903);
        qiu8hus.setText(listdata._$6061904);
        longhu8.setVisibility(View.GONE);
        linearLayoutsList.add(new Viewbean(qiu8dalin, qiu8da, qiu8das, "第八球", "6061888"));
        linearLayoutsList.add(new Viewbean(qiu8xiaolin, qiu8xiao, qiu8xiaos, "第八球", "6061889"));
        linearLayoutsList.add(new Viewbean(qiu8danlin, qiu8dan, qiu8dans, "第八球", "6061890"));
        linearLayoutsList.add(new Viewbean(qiu8shaunglin, qiu8shuang, qiu8shuangs, "第八球", "6061891"));
        linearLayoutsList.add(new Viewbean(qiu8hedanlin, qiu8hedan, qiu8hedans, "第八球", "6061894"));
        linearLayoutsList.add(new Viewbean(qiu8heshaunglin, qiu8heshaung, qiu8heshaungs, "第八球", "6061895"));
        linearLayoutsList.add(new Viewbean(qiu8weidalin, qiu8weida, qiu8weidas, "第八球", "6061892"));
        linearLayoutsList.add(new Viewbean(qiu8weixiaolin, qiu8weixiao, qiu8weixiaos, "第八球", "6061893"));
        linearLayoutsList.add(new Viewbean(qiu8longlin, qiu8long, qiu8longs, "第八球", "6061903"));
        linearLayoutsList.add(new Viewbean(qiu8hulin, qiu8hu, qiu8hus, "第八球", "6061904"));

        textcolorlist();

    }


    /**
     * 十一选五
     *
     * @param listdata
     */
    public void setshiyixuanwuddes(final Res11xuan5.DataBean listdata) {
        bttextsetcolor();
        final Drawable img = qiuliangmianbt.getResources().getDrawable(R.mipmap.whitedots);
// 调用setCompoundDrawables时，必须调用Drawable.setBounds()方法,否则图片不显示
        img.setBounds(0, 0, img.getMinimumWidth(), img.getMinimumHeight());
        qiuliangmianbt.setCompoundDrawables(img, null, null, null);
        qiuliangmianbt.setTextColor(getContext().getResources().getColor(R.color.settingbg));
        qiuliangmianbt.setBackgroundColor(getContext().getResources().getColor(R.color.text_color2));
//        //左侧按钮在这里处理了
        qiuliangmianbt.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                qiuliangmianlin.setVisibility(View.VISIBLE);
                qiuxiabanbufen.setVisibility(View.GONE);
                lianmalin.setVisibility(View.GONE);
                bttextsetcolor();
                clearview();
                chongzhi();
                lianmapeilv.setText("");
                qiuliangmianbt.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                qiuliangmianbt.setBackgroundColor(getContext().getResources().getColor(R.color.text_color2));
                qiuliangmianbt.setCompoundDrawables(img, null, null, null);
            }
        });
        qiu1bt.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                qiuliangmianlin.setVisibility(View.GONE);
                qiuxiabanbufen.setVisibility(View.VISIBLE);
                qiutitle.setText("第一球");
                lianmalin.setVisibility(View.GONE);
                bttextsetcolor();
                qiu1bt.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                qiu1bt.setCompoundDrawables(img, null, null, null);
                qiu1bt.setBackgroundColor(getContext().getResources().getColor(R.color.text_color2));
                qiu1.setText(listdata._$2127151);
                qiu2.setText(listdata._$2127152);
                qiu3.setText(listdata._$2127153);
                qiu4.setText(listdata._$2127154);
                qiu5.setText(listdata._$2127155);
                qiu6.setText(listdata._$2127156);
                qiu7.setText(listdata._$2127157);
                qiu8.setText(listdata._$2127158);
                qiu9.setText(listdata._$2127159);
                qiu10.setText(listdata._$2127160);
                qiu11.setText(listdata._$2127161);
                shifendas.setText(listdata._$2127162);
                shifenxiaos.setText(listdata._$2127163);
                shifendans.setText(listdata._$2127164);
                shifenshaungs.setText(listdata._$2127165);
                linearLayoutsList.add(new Viewbean(qiulin1, qiu1, qiu1, "第一球", "2127151"));
                linearLayoutsList.add(new Viewbean(qiulin2, qiu2, qiu2, "第一球", "2127152"));
                linearLayoutsList.add(new Viewbean(qiulin3, qiu3, qiu3, "第一球", "2127153"));
                linearLayoutsList.add(new Viewbean(qiulin4, qiu4, qiu4, "第一球", "2127154"));
                linearLayoutsList.add(new Viewbean(qiulin5, qiu5, qiu5, "第一球", "2127155"));
                linearLayoutsList.add(new Viewbean(qiulin6, qiu6, qiu6, "第一球", "2127156"));
                linearLayoutsList.add(new Viewbean(qiulin7, qiu7, qiu7, "第一球", "2127157"));
                linearLayoutsList.add(new Viewbean(qiulin8, qiu8, qiu8, "第一球", "2127158"));
                linearLayoutsList.add(new Viewbean(qiulin9, qiu9, qiu9, "第一球", "2127159"));
                linearLayoutsList.add(new Viewbean(qiulin10, qiu10, qiu10, "第一球", "2127160"));
                linearLayoutsList.add(new Viewbean(qiulin11, qiu11, qiu11, "第一球", "2127161"));
                linearLayoutsList.add(new Viewbean(shifendalin, shifenda, shifendas, "第一球", "2127162"));
                linearLayoutsList.add(new Viewbean(shifenxiaolin, shifenxiao, shifenxiaos, "第一球", "2127163"));
                linearLayoutsList.add(new Viewbean(shifendanlin, shifendan, shifendans, "第一球", "2127164"));
                linearLayoutsList.add(new Viewbean(shifenshaunglin, shifenshuang, shifenshaungs, "第一球", "2127165"));
                textcolorlist();
                clearview();
                chongzhi();
                lianmapeilv.setText("");
            }
        });
        qiu2bt.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                qiuliangmianlin.setVisibility(View.GONE);
                qiuxiabanbufen.setVisibility(View.VISIBLE);
                qiutitle.setText("第二球");
                lianmalin.setVisibility(View.GONE);
                bttextsetcolor();
                qiu2bt.setCompoundDrawables(img, null, null, null);
                qiu2bt.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                qiu2bt.setBackgroundColor(getContext().getResources().getColor(R.color.text_color2));
                qiu1.setText(listdata._$2128166);
                qiu2.setText(listdata._$2128167);
                qiu3.setText(listdata._$2128168);
                qiu4.setText(listdata._$2128169);
                qiu5.setText(listdata._$2128170);
                qiu6.setText(listdata._$2128171);
                qiu7.setText(listdata._$2128172);
                qiu8.setText(listdata._$2128173);
                qiu9.setText(listdata._$2128174);
                qiu10.setText(listdata._$2128175);
                qiu11.setText(listdata._$2128176);

                shifendas.setText(listdata._$2128177);
                shifenxiaos.setText(listdata._$2128178);
                shifendans.setText(listdata._$2128179);
                shifenshaungs.setText(listdata._$2128180);
                linearLayoutsList.add(new Viewbean(qiulin1, qiu1, qiu1, "第二球", "2128166"));
                linearLayoutsList.add(new Viewbean(qiulin2, qiu2, qiu2, "第二球", "2128167"));
                linearLayoutsList.add(new Viewbean(qiulin3, qiu3, qiu3, "第二球", "2128168"));
                linearLayoutsList.add(new Viewbean(qiulin4, qiu4, qiu4, "第二球", "2128169"));
                linearLayoutsList.add(new Viewbean(qiulin5, qiu5, qiu5, "第二球", "2128170"));
                linearLayoutsList.add(new Viewbean(qiulin6, qiu6, qiu6, "第二球", "2128171"));
                linearLayoutsList.add(new Viewbean(qiulin7, qiu7, qiu7, "第二球", "2128172"));
                linearLayoutsList.add(new Viewbean(qiulin8, qiu8, qiu8, "第二球", "2128173"));
                linearLayoutsList.add(new Viewbean(qiulin9, qiu9, qiu9, "第二球", "2128174"));
                linearLayoutsList.add(new Viewbean(qiulin10, qiu10, qiu10, "第二球", "2128175"));
                linearLayoutsList.add(new Viewbean(qiulin11, qiu11, qiu11, "第二球", "2128176"));
                linearLayoutsList.add(new Viewbean(shifendalin, shifenda, shifendas, "第二球", "2128177"));
                linearLayoutsList.add(new Viewbean(shifenxiaolin, shifenxiao, shifenxiaos, "第二球", "2128178"));
                linearLayoutsList.add(new Viewbean(shifendanlin, shifendan, shifendans, "第二球", "2128179"));
                linearLayoutsList.add(new Viewbean(shifenshaunglin, shifenshuang, shifenshaungs, "第二球", "2128180"));
                textcolorlist();
                clearview();
                chongzhi();
                lianmapeilv.setText("");

            }
        });
        qiu3bt.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                qiuliangmianlin.setVisibility(View.GONE);
                qiuxiabanbufen.setVisibility(View.VISIBLE);
                qiutitle.setText("第三球");
                lianmalin.setVisibility(View.GONE);
                bttextsetcolor();
                qiu3bt.setCompoundDrawables(img, null, null, null);
                qiu3bt.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                qiu3bt.setBackgroundColor(getContext().getResources().getColor(R.color.text_color2));
                qiu1.setText(listdata._$2129181);
                qiu2.setText(listdata._$2129182);
                qiu3.setText(listdata._$2129183);
                qiu4.setText(listdata._$2129184);
                qiu5.setText(listdata._$2129185);
                qiu6.setText(listdata._$2129186);
                qiu7.setText(listdata._$2129187);
                qiu8.setText(listdata._$2129188);
                qiu9.setText(listdata._$2129189);
                qiu10.setText(listdata._$2129190);
                qiu11.setText(listdata._$2129191);

                shifendas.setText(listdata._$2129192);
                shifenxiaos.setText(listdata._$2129193);
                shifendans.setText(listdata._$2129194);
                shifenshaungs.setText(listdata._$2129195);

                linearLayoutsList.add(new Viewbean(qiulin1, qiu1, qiu1, "第三球", "2129181"));
                linearLayoutsList.add(new Viewbean(qiulin2, qiu2, qiu2, "第三球", "2129182"));
                linearLayoutsList.add(new Viewbean(qiulin3, qiu3, qiu3, "第三球", "2129183"));
                linearLayoutsList.add(new Viewbean(qiulin4, qiu4, qiu4, "第三球", "2129184"));
                linearLayoutsList.add(new Viewbean(qiulin5, qiu5, qiu5, "第三球", "2129185"));
                linearLayoutsList.add(new Viewbean(qiulin6, qiu6, qiu6, "第三球", "2129186"));
                linearLayoutsList.add(new Viewbean(qiulin7, qiu7, qiu7, "第三球", "2129187"));
                linearLayoutsList.add(new Viewbean(qiulin8, qiu8, qiu8, "第三球", "2129188"));
                linearLayoutsList.add(new Viewbean(qiulin9, qiu9, qiu9, "第三球", "2129189"));
                linearLayoutsList.add(new Viewbean(qiulin10, qiu10, qiu10, "第三球", "2129190"));
                linearLayoutsList.add(new Viewbean(qiulin11, qiu11, qiu11, "第三球", "2129191"));

                linearLayoutsList.add(new Viewbean(shifendalin, shifenda, shifendas, "第三球", "2129192"));
                linearLayoutsList.add(new Viewbean(shifenxiaolin, shifenxiao, shifenxiaos, "第三球", "2129193"));
                linearLayoutsList.add(new Viewbean(shifendanlin, shifendan, shifendans, "第三球", "2129194"));
                linearLayoutsList.add(new Viewbean(shifenshaunglin, shifenshuang, shifenshaungs, "第三球", "2129195"));

                textcolorlist();
                clearview();
                chongzhi();
                lianmapeilv.setText("");
            }
        });
        qiu4bt.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                qiuliangmianlin.setVisibility(View.GONE);
                qiuxiabanbufen.setVisibility(View.VISIBLE);
                qiutitle.setText("第四球");
                lianmalin.setVisibility(View.GONE);
                bttextsetcolor();
                qiu4bt.setCompoundDrawables(img, null, null, null);
                qiu4bt.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                qiu4bt.setBackgroundColor(getContext().getResources().getColor(R.color.text_color2));
                qiu1.setText(listdata._$2130196);
                qiu2.setText(listdata._$2130197);
                qiu3.setText(listdata._$2130198);
                qiu4.setText(listdata._$2130199);
                qiu5.setText(listdata._$2130200);
                qiu6.setText(listdata._$2130201);
                qiu7.setText(listdata._$2130202);
                qiu8.setText(listdata._$2130203);
                qiu9.setText(listdata._$2130204);
                qiu10.setText(listdata._$2130205);
                qiu11.setText(listdata._$2130206);

                shifendas.setText(listdata._$2130207);
                shifenxiaos.setText(listdata._$2130208);
                shifendans.setText(listdata._$2130209);
                shifenshaungs.setText(listdata._$2130210);

                linearLayoutsList.add(new Viewbean(qiulin1, qiu1, qiu1, "第四球", "2130196"));
                linearLayoutsList.add(new Viewbean(qiulin2, qiu2, qiu2, "第四球", "2130197"));
                linearLayoutsList.add(new Viewbean(qiulin3, qiu3, qiu3, "第四球", "2130198"));
                linearLayoutsList.add(new Viewbean(qiulin4, qiu4, qiu4, "第四球", "2130199"));
                linearLayoutsList.add(new Viewbean(qiulin5, qiu5, qiu5, "第四球", "2130200"));
                linearLayoutsList.add(new Viewbean(qiulin6, qiu6, qiu6, "第四球", "2130201"));
                linearLayoutsList.add(new Viewbean(qiulin7, qiu7, qiu7, "第四球", "2130202"));
                linearLayoutsList.add(new Viewbean(qiulin8, qiu8, qiu8, "第四球", "2130203"));
                linearLayoutsList.add(new Viewbean(qiulin9, qiu9, qiu9, "第四球", "2130204"));
                linearLayoutsList.add(new Viewbean(qiulin10, qiu10, qiu10, "第四球", "2130205"));
                linearLayoutsList.add(new Viewbean(qiulin11, qiu11, qiu11, "第四球", "2130206"));

                linearLayoutsList.add(new Viewbean(shifendalin, shifenda, shifendas, "第四球", "2130207"));
                linearLayoutsList.add(new Viewbean(shifenxiaolin, shifenxiao, shifenxiaos, "第四球", "2130208"));
                linearLayoutsList.add(new Viewbean(shifendanlin, shifendan, shifendans, "第四球", "2130209"));
                linearLayoutsList.add(new Viewbean(shifenshaunglin, shifenshuang, shifenshaungs, "第四球", "2130210"));
                textcolorlist();
                clearview();
                chongzhi();
                lianmapeilv.setText("");
            }
        });
        qiu5bt.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                qiuliangmianlin.setVisibility(View.GONE);
                qiuxiabanbufen.setVisibility(View.VISIBLE);
                qiutitle.setText("第五球");
                lianmalin.setVisibility(View.GONE);
                bttextsetcolor();
                qiu5bt.setCompoundDrawables(img, null, null, null);
                qiu5bt.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                qiu5bt.setBackgroundColor(getContext().getResources().getColor(R.color.text_color2));
                qiu1.setText(listdata._$2131211);
                qiu2.setText(listdata._$2131212);
                qiu3.setText(listdata._$2131213);
                qiu4.setText(listdata._$2131214);
                qiu5.setText(listdata._$2131215);
                qiu6.setText(listdata._$2131216);
                qiu7.setText(listdata._$2131217);
                qiu8.setText(listdata._$2131218);
                qiu9.setText(listdata._$2131219);
                qiu10.setText(listdata._$2131220);
                qiu11.setText(listdata._$2131221);

                shifendas.setText(listdata._$2131222);
                shifenxiaos.setText(listdata._$2131223);
                shifendans.setText(listdata._$2131224);
                shifenshaungs.setText(listdata._$2131225);
                linearLayoutsList.add(new Viewbean(qiulin1, qiu1, qiu1, "第五球", "2131211"));
                linearLayoutsList.add(new Viewbean(qiulin2, qiu2, qiu2, "第五球", "2131212"));
                linearLayoutsList.add(new Viewbean(qiulin3, qiu3, qiu3, "第五球", "2131213"));
                linearLayoutsList.add(new Viewbean(qiulin4, qiu4, qiu4, "第五球", "2131214"));
                linearLayoutsList.add(new Viewbean(qiulin5, qiu5, qiu5, "第五球", "2131215"));
                linearLayoutsList.add(new Viewbean(qiulin6, qiu6, qiu6, "第五球", "2131216"));
                linearLayoutsList.add(new Viewbean(qiulin7, qiu7, qiu7, "第五球", "2131217"));
                linearLayoutsList.add(new Viewbean(qiulin8, qiu8, qiu8, "第五球", "2131218"));
                linearLayoutsList.add(new Viewbean(qiulin9, qiu9, qiu9, "第五球", "2131219"));
                linearLayoutsList.add(new Viewbean(qiulin10, qiu10, qiu10, "第五球", "2131220"));
                linearLayoutsList.add(new Viewbean(qiulin11, qiu11, qiu11, "第五球", "2131221"));

                linearLayoutsList.add(new Viewbean(shifendalin, shifenda, shifendas, "第五球", "2131222"));
                linearLayoutsList.add(new Viewbean(shifenxiaolin, shifenxiao, shifenxiaos, "第五球", "2131223"));
                linearLayoutsList.add(new Viewbean(shifendanlin, shifendan, shifendans, "第五球", "2131224"));
                linearLayoutsList.add(new Viewbean(shifenshaunglin, shifenshuang, shifenshaungs, "第五球", "2131225"));
                textcolorlist();
                clearview();
                chongzhi();
                lianmapeilv.setText("");

            }
        });
        qiulianmabt.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                qiuliangmianlin.setVisibility(View.GONE);
                qiuxiabanbufen.setVisibility(View.GONE);
                lianmapeilv.setVisibility(View.VISIBLE);
                lianmalin.setVisibility(View.VISIBLE);
                bttextsetcolor();
                renxuan1.setText("二中二");
                renxuan2.setText("三中三");
                renxuan3.setText("四中四");
                renxuan4.setText("五中五");
                renxuan5.setText("六中五");
                renxuan6.setText("七中五");
                renxuan5.setVisibility(View.VISIBLE);
                renxuan6.setVisibility(View.VISIBLE);
                renxuan7.setVisibility(View.VISIBLE);
                renxuan8.setVisibility(View.VISIBLE);
                renxuan9.setVisibility(View.VISIBLE);
                qiulianmabt.setCompoundDrawables(img, null, null, null);
                qiulianmabt.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                qiulianmabt.setBackgroundColor(getContext().getResources().getColor(R.color.text_color2));
                lianmapeilv.setText(listdata._$2133237);
                renxuan1.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                renxuan1.setBackgroundColor(getContext().getResources().getColor(R.color.text_color2));

                linearLayoutsList.add(new Viewbean(lianma1lin, lianma1, lianmapeilv, "二中二", "2133237"));
                linearLayoutsList.add(new Viewbean(lianma2lin, lianma2, lianmapeilv, "二中二", "2133237"));
                linearLayoutsList.add(new Viewbean(lianma3lin, lianma3, lianmapeilv, "二中二", "2133237"));
                linearLayoutsList.add(new Viewbean(lianma4lin, lianma4, lianmapeilv, "二中二", "2133237"));
                linearLayoutsList.add(new Viewbean(lianma5lin, lianma5, lianmapeilv, "二中二", "2133237"));
                linearLayoutsList.add(new Viewbean(lianma6lin, lianma6, lianmapeilv, "二中二", "2133237"));
                linearLayoutsList.add(new Viewbean(lianma7lin, lianma7, lianmapeilv, "二中二", "2133237"));
                linearLayoutsList.add(new Viewbean(lianma8lin, lianma8, lianmapeilv, "二中二", "2133237"));
                linearLayoutsList.add(new Viewbean(lianma9lin, lianma9, lianmapeilv, "二中二", "2133237"));
                linearLayoutsList.add(new Viewbean(lianma10lin, lianma10, lianmapeilv, "二中二", "2133237"));
                linearLayoutsList.add(new Viewbean(lianma11lin, lianma11, lianmapeilv, "二中二", "2133237"));
                linearLayoutsList.add(new Viewbean(lianma12lin, lianma12, lianmapeilv, "二中二", "2133237"));
                linearLayoutsList.add(new Viewbean(lianma13lin, lianma13, lianmapeilv, "二中二", "2133237"));
                linearLayoutsList.add(new Viewbean(lianma14lin, lianma14, lianmapeilv, "二中二", "2133237"));
                linearLayoutsList.add(new Viewbean(lianma15lin, lianma15, lianmapeilv, "二中二", "2133237"));
                linearLayoutsList.add(new Viewbean(lianma16lin, lianma16, lianmapeilv, "二中二", "2133237"));
                linearLayoutsList.add(new Viewbean(lianma17lin, lianma17, lianmapeilv, "二中二", "2133237"));
                linearLayoutsList.add(new Viewbean(lianma18lin, lianma18, lianmapeilv, "二中二", "2133237"));
                linearLayoutsList.add(new Viewbean(lianma19lin, lianma19, lianmapeilv, "二中二", "2133237"));
                linearLayoutsList.add(new Viewbean(lianma20lin, lianma20, lianmapeilv, "二中二", "2133237"));
                textcolorlist();
            }
        });
        renxuan1.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                chongzhi();
                bttextsetcolor();
                lianmapeilv.setText(listdata._$2133237);
                qiulianmabt.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                renxuan1.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                renxuan1.setBackgroundColor(getContext().getResources().getColor(R.color.text_color2));
                linearLayoutsList.add(new Viewbean(lianma1lin, lianma1, lianmapeilv, "二中二", "2133237"));
                linearLayoutsList.add(new Viewbean(lianma2lin, lianma2, lianmapeilv, "二中二", "2133237"));
                linearLayoutsList.add(new Viewbean(lianma3lin, lianma3, lianmapeilv, "二中二", "2133237"));
                linearLayoutsList.add(new Viewbean(lianma4lin, lianma4, lianmapeilv, "二中二", "2133237"));
                linearLayoutsList.add(new Viewbean(lianma5lin, lianma5, lianmapeilv, "二中二", "2133237"));
                linearLayoutsList.add(new Viewbean(lianma6lin, lianma6, lianmapeilv, "二中二", "2133237"));
                linearLayoutsList.add(new Viewbean(lianma7lin, lianma7, lianmapeilv, "二中二", "2133237"));
                linearLayoutsList.add(new Viewbean(lianma8lin, lianma8, lianmapeilv, "二中二", "2133237"));
                linearLayoutsList.add(new Viewbean(lianma9lin, lianma9, lianmapeilv, "二中二", "2133237"));
                linearLayoutsList.add(new Viewbean(lianma10lin, lianma10, lianmapeilv, "二中二", "2133237"));
                linearLayoutsList.add(new Viewbean(lianma11lin, lianma11, lianmapeilv, "二中二", "2133237"));
                linearLayoutsList.add(new Viewbean(lianma12lin, lianma12, lianmapeilv, "二中二", "2133237"));
                linearLayoutsList.add(new Viewbean(lianma13lin, lianma13, lianmapeilv, "二中二", "2133237"));
                linearLayoutsList.add(new Viewbean(lianma14lin, lianma14, lianmapeilv, "二中二", "2133237"));
                linearLayoutsList.add(new Viewbean(lianma15lin, lianma15, lianmapeilv, "二中二", "2133237"));
                linearLayoutsList.add(new Viewbean(lianma16lin, lianma16, lianmapeilv, "二中二", "2133237"));
                linearLayoutsList.add(new Viewbean(lianma17lin, lianma17, lianmapeilv, "二中二", "2133237"));
                linearLayoutsList.add(new Viewbean(lianma18lin, lianma18, lianmapeilv, "二中二", "2133237"));
                linearLayoutsList.add(new Viewbean(lianma19lin, lianma19, lianmapeilv, "二中二", "2133237"));
                linearLayoutsList.add(new Viewbean(lianma20lin, lianma20, lianmapeilv, "二中二", "2133237"));
                textcolorlist();
            }
        });
        renxuan2.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                bttextsetcolor();
                chongzhi();
                qiulianmabt.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                renxuan2.setBackgroundColor(getContext().getResources().getColor(R.color.text_color2));
                renxuan2.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                lianmapeilv.setText(listdata._$2133238);
                linearLayoutsList.add(new Viewbean(lianma1lin, lianma1, lianmapeilv, "三中三", "2133238"));
                linearLayoutsList.add(new Viewbean(lianma2lin, lianma2, lianmapeilv, "三中三", "2133238"));
                linearLayoutsList.add(new Viewbean(lianma3lin, lianma3, lianmapeilv, "三中三", "2133238"));
                linearLayoutsList.add(new Viewbean(lianma4lin, lianma4, lianmapeilv, "三中三", "2133238"));
                linearLayoutsList.add(new Viewbean(lianma5lin, lianma5, lianmapeilv, "三中三", "2133238"));
                linearLayoutsList.add(new Viewbean(lianma6lin, lianma6, lianmapeilv, "三中三", "2133238"));
                linearLayoutsList.add(new Viewbean(lianma7lin, lianma7, lianmapeilv, "三中三", "2133238"));
                linearLayoutsList.add(new Viewbean(lianma8lin, lianma8, lianmapeilv, "三中三", "2133238"));
                linearLayoutsList.add(new Viewbean(lianma9lin, lianma9, lianmapeilv, "三中三", "2133238"));
                linearLayoutsList.add(new Viewbean(lianma10lin, lianma10, lianmapeilv, "三中三", "2133238"));
                linearLayoutsList.add(new Viewbean(lianma11lin, lianma11, lianmapeilv, "三中三", "2133238"));
                linearLayoutsList.add(new Viewbean(lianma12lin, lianma12, lianmapeilv, "三中三", "2133238"));
                linearLayoutsList.add(new Viewbean(lianma13lin, lianma13, lianmapeilv, "三中三", "2133238"));
                linearLayoutsList.add(new Viewbean(lianma14lin, lianma14, lianmapeilv, "三中三", "2133238"));
                linearLayoutsList.add(new Viewbean(lianma15lin, lianma15, lianmapeilv, "三中三", "2133238"));
                linearLayoutsList.add(new Viewbean(lianma16lin, lianma16, lianmapeilv, "三中三", "2133238"));
                linearLayoutsList.add(new Viewbean(lianma17lin, lianma17, lianmapeilv, "三中三", "2133238"));
                linearLayoutsList.add(new Viewbean(lianma18lin, lianma18, lianmapeilv, "三中三", "2133238"));
                linearLayoutsList.add(new Viewbean(lianma19lin, lianma19, lianmapeilv, "三中三", "2133238"));
                linearLayoutsList.add(new Viewbean(lianma20lin, lianma20, lianmapeilv, "三中三", "2133238"));
                textcolorlist();
            }
        });
        renxuan3.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                bttextsetcolor();
                chongzhi();
                qiulianmabt.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                renxuan3.setBackgroundColor(getContext().getResources().getColor(R.color.text_color2));
                renxuan3.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                lianmapeilv.setText(listdata._$2133239);
                linearLayoutsList.add(new Viewbean(lianma1lin, lianma1, lianmapeilv, "四中四", "2133239"));
                linearLayoutsList.add(new Viewbean(lianma2lin, lianma2, lianmapeilv, "四中四", "2133239"));
                linearLayoutsList.add(new Viewbean(lianma3lin, lianma3, lianmapeilv, "四中四", "2133239"));
                linearLayoutsList.add(new Viewbean(lianma4lin, lianma4, lianmapeilv, "四中四", "2133239"));
                linearLayoutsList.add(new Viewbean(lianma5lin, lianma5, lianmapeilv, "四中四", "2133239"));
                linearLayoutsList.add(new Viewbean(lianma6lin, lianma6, lianmapeilv, "四中四", "2133239"));
                linearLayoutsList.add(new Viewbean(lianma7lin, lianma7, lianmapeilv, "四中四", "2133239"));
                linearLayoutsList.add(new Viewbean(lianma8lin, lianma8, lianmapeilv, "四中四", "2133239"));
                linearLayoutsList.add(new Viewbean(lianma9lin, lianma9, lianmapeilv, "四中四", "2133239"));
                linearLayoutsList.add(new Viewbean(lianma10lin, lianma10, lianmapeilv, "四中四", "2133239"));
                linearLayoutsList.add(new Viewbean(lianma11lin, lianma11, lianmapeilv, "四中四", "2133239"));
                linearLayoutsList.add(new Viewbean(lianma12lin, lianma12, lianmapeilv, "四中四", "2133239"));
                linearLayoutsList.add(new Viewbean(lianma13lin, lianma13, lianmapeilv, "四中四", "2133239"));
                linearLayoutsList.add(new Viewbean(lianma14lin, lianma14, lianmapeilv, "四中四", "2133239"));
                linearLayoutsList.add(new Viewbean(lianma15lin, lianma15, lianmapeilv, "四中四", "2133239"));
                linearLayoutsList.add(new Viewbean(lianma16lin, lianma16, lianmapeilv, "四中四", "2133239"));
                linearLayoutsList.add(new Viewbean(lianma17lin, lianma17, lianmapeilv, "四中四", "2133239"));
                linearLayoutsList.add(new Viewbean(lianma18lin, lianma18, lianmapeilv, "四中四", "2133239"));
                linearLayoutsList.add(new Viewbean(lianma19lin, lianma19, lianmapeilv, "四中四", "2133239"));
                linearLayoutsList.add(new Viewbean(lianma20lin, lianma20, lianmapeilv, "四中四", "2133239"));
                textcolorlist();
            }
        });
        renxuan4.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                bttextsetcolor();
                chongzhi();
                qiulianmabt.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                renxuan4.setBackgroundColor(getContext().getResources().getColor(R.color.text_color2));
                renxuan4.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                lianmapeilv.setText(listdata._$2133240);
                linearLayoutsList.add(new Viewbean(lianma1lin, lianma1, lianmapeilv, "五中五", "2133240"));
                linearLayoutsList.add(new Viewbean(lianma2lin, lianma2, lianmapeilv, "五中五", "2133240"));
                linearLayoutsList.add(new Viewbean(lianma3lin, lianma3, lianmapeilv, "五中五", "2133240"));
                linearLayoutsList.add(new Viewbean(lianma4lin, lianma4, lianmapeilv, "五中五", "2133240"));
                linearLayoutsList.add(new Viewbean(lianma5lin, lianma5, lianmapeilv, "五中五", "2133240"));
                linearLayoutsList.add(new Viewbean(lianma6lin, lianma6, lianmapeilv, "五中五", "2133240"));
                linearLayoutsList.add(new Viewbean(lianma7lin, lianma7, lianmapeilv, "五中五", "2133240"));
                linearLayoutsList.add(new Viewbean(lianma8lin, lianma8, lianmapeilv, "五中五", "2133240"));
                linearLayoutsList.add(new Viewbean(lianma9lin, lianma9, lianmapeilv, "五中五", "2133240"));
                linearLayoutsList.add(new Viewbean(lianma10lin, lianma10, lianmapeilv, "五中五", "2133240"));
                linearLayoutsList.add(new Viewbean(lianma11lin, lianma11, lianmapeilv, "五中五", "2133240"));
                linearLayoutsList.add(new Viewbean(lianma12lin, lianma12, lianmapeilv, "五中五", "2133240"));
                linearLayoutsList.add(new Viewbean(lianma13lin, lianma13, lianmapeilv, "五中五", "2133240"));
                linearLayoutsList.add(new Viewbean(lianma14lin, lianma14, lianmapeilv, "五中五", "2133240"));
                linearLayoutsList.add(new Viewbean(lianma15lin, lianma15, lianmapeilv, "五中五", "2133240"));
                linearLayoutsList.add(new Viewbean(lianma16lin, lianma16, lianmapeilv, "五中五", "2133240"));
                linearLayoutsList.add(new Viewbean(lianma17lin, lianma17, lianmapeilv, "五中五", "2133240"));
                linearLayoutsList.add(new Viewbean(lianma18lin, lianma18, lianmapeilv, "五中五", "2133240"));
                linearLayoutsList.add(new Viewbean(lianma19lin, lianma19, lianmapeilv, "五中五", "2133240"));
                linearLayoutsList.add(new Viewbean(lianma20lin, lianma20, lianmapeilv, "五中五", "2133240"));
                textcolorlist();
            }
        });
        renxuan5.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                bttextsetcolor();
                chongzhi();
                qiulianmabt.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                renxuan5.setBackgroundColor(getContext().getResources().getColor(R.color.text_color2));
                renxuan5.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                lianmapeilv.setText(listdata._$2133241);
                linearLayoutsList.add(new Viewbean(lianma1lin, lianma1, lianmapeilv, "六中五", "2133241"));
                linearLayoutsList.add(new Viewbean(lianma2lin, lianma2, lianmapeilv, "六中五", "2133241"));
                linearLayoutsList.add(new Viewbean(lianma3lin, lianma3, lianmapeilv, "六中五", "2133241"));
                linearLayoutsList.add(new Viewbean(lianma4lin, lianma4, lianmapeilv, "六中五", "2133241"));
                linearLayoutsList.add(new Viewbean(lianma5lin, lianma5, lianmapeilv, "六中五", "2133241"));
                linearLayoutsList.add(new Viewbean(lianma6lin, lianma6, lianmapeilv, "六中五", "2133241"));
                linearLayoutsList.add(new Viewbean(lianma7lin, lianma7, lianmapeilv, "六中五", "2133241"));
                linearLayoutsList.add(new Viewbean(lianma8lin, lianma8, lianmapeilv, "六中五", "2133241"));
                linearLayoutsList.add(new Viewbean(lianma9lin, lianma9, lianmapeilv, "六中五", "2133241"));
                linearLayoutsList.add(new Viewbean(lianma10lin, lianma10, lianmapeilv, "六中五", "2133241"));
                linearLayoutsList.add(new Viewbean(lianma11lin, lianma11, lianmapeilv, "六中五", "2133241"));
                linearLayoutsList.add(new Viewbean(lianma12lin, lianma12, lianmapeilv, "六中五", "2133241"));
                linearLayoutsList.add(new Viewbean(lianma13lin, lianma13, lianmapeilv, "六中五", "2133241"));
                linearLayoutsList.add(new Viewbean(lianma14lin, lianma14, lianmapeilv, "六中五", "2133241"));
                linearLayoutsList.add(new Viewbean(lianma15lin, lianma15, lianmapeilv, "六中五", "2133241"));
                linearLayoutsList.add(new Viewbean(lianma16lin, lianma16, lianmapeilv, "六中五", "2133241"));
                linearLayoutsList.add(new Viewbean(lianma17lin, lianma17, lianmapeilv, "六中五", "2133241"));
                linearLayoutsList.add(new Viewbean(lianma18lin, lianma18, lianmapeilv, "六中五", "2133241"));
                linearLayoutsList.add(new Viewbean(lianma19lin, lianma19, lianmapeilv, "六中五", "2133241"));
                linearLayoutsList.add(new Viewbean(lianma20lin, lianma20, lianmapeilv, "六中五", "2133241"));
                textcolorlist();
            }
        });
        renxuan6.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                bttextsetcolor();
                chongzhi();
                qiulianmabt.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                renxuan6.setBackgroundColor(getContext().getResources().getColor(R.color.text_color2));
                renxuan6.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                lianmapeilv.setText(listdata._$2133242);
                linearLayoutsList.add(new Viewbean(lianma1lin, lianma1, lianmapeilv, "七中五", "2133242"));
                linearLayoutsList.add(new Viewbean(lianma2lin, lianma2, lianmapeilv, "七中五", "2133242"));
                linearLayoutsList.add(new Viewbean(lianma3lin, lianma3, lianmapeilv, "七中五", "2133242"));
                linearLayoutsList.add(new Viewbean(lianma4lin, lianma4, lianmapeilv, "七中五", "2133242"));
                linearLayoutsList.add(new Viewbean(lianma5lin, lianma5, lianmapeilv, "七中五", "2133242"));
                linearLayoutsList.add(new Viewbean(lianma6lin, lianma6, lianmapeilv, "七中五", "2133242"));
                linearLayoutsList.add(new Viewbean(lianma7lin, lianma7, lianmapeilv, "七中五", "2133242"));
                linearLayoutsList.add(new Viewbean(lianma8lin, lianma8, lianmapeilv, "七中五", "2133242"));
                linearLayoutsList.add(new Viewbean(lianma9lin, lianma9, lianmapeilv, "七中五", "2133242"));
                linearLayoutsList.add(new Viewbean(lianma10lin, lianma10, lianmapeilv, "七中五", "2133242"));
                linearLayoutsList.add(new Viewbean(lianma11lin, lianma11, lianmapeilv, "七中五", "2133242"));
                linearLayoutsList.add(new Viewbean(lianma12lin, lianma12, lianmapeilv, "七中五", "2133242"));
                linearLayoutsList.add(new Viewbean(lianma13lin, lianma13, lianmapeilv, "七中五", "2133242"));
                linearLayoutsList.add(new Viewbean(lianma14lin, lianma14, lianmapeilv, "七中五", "2133242"));
                linearLayoutsList.add(new Viewbean(lianma15lin, lianma15, lianmapeilv, "七中五", "2133242"));
                linearLayoutsList.add(new Viewbean(lianma16lin, lianma16, lianmapeilv, "七中五", "2133242"));
                linearLayoutsList.add(new Viewbean(lianma17lin, lianma17, lianmapeilv, "七中五", "2133242"));
                linearLayoutsList.add(new Viewbean(lianma18lin, lianma18, lianmapeilv, "七中五", "2133242"));
                linearLayoutsList.add(new Viewbean(lianma19lin, lianma19, lianmapeilv, "七中五", "2133242"));
                linearLayoutsList.add(new Viewbean(lianma20lin, lianma20, lianmapeilv, "七中五", "2133242"));
                textcolorlist();
            }
        });
        renxuan7.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                bttextsetcolor();
                chongzhi();
                qiulianmabt.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                renxuan7.setBackgroundColor(getContext().getResources().getColor(R.color.text_color2));
                renxuan7.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                lianmapeilv.setText(listdata._$2133243);
                linearLayoutsList.add(new Viewbean(lianma1lin, lianma1, lianmapeilv, "八中五", "2133243"));
                linearLayoutsList.add(new Viewbean(lianma2lin, lianma2, lianmapeilv, "八中五", "2133243"));
                linearLayoutsList.add(new Viewbean(lianma3lin, lianma3, lianmapeilv, "八中五", "2133243"));
                linearLayoutsList.add(new Viewbean(lianma4lin, lianma4, lianmapeilv, "八中五", "2133243"));
                linearLayoutsList.add(new Viewbean(lianma5lin, lianma5, lianmapeilv, "八中五", "2133243"));
                linearLayoutsList.add(new Viewbean(lianma6lin, lianma6, lianmapeilv, "八中五", "2133243"));
                linearLayoutsList.add(new Viewbean(lianma7lin, lianma7, lianmapeilv, "八中五", "2133243"));
                linearLayoutsList.add(new Viewbean(lianma8lin, lianma8, lianmapeilv, "八中五", "2133243"));
                linearLayoutsList.add(new Viewbean(lianma9lin, lianma9, lianmapeilv, "八中五", "2133243"));
                linearLayoutsList.add(new Viewbean(lianma10lin, lianma10, lianmapeilv, "八中五", "2133243"));
                linearLayoutsList.add(new Viewbean(lianma11lin, lianma11, lianmapeilv, "八中五", "2133243"));
                linearLayoutsList.add(new Viewbean(lianma12lin, lianma12, lianmapeilv, "八中五", "2133243"));
                linearLayoutsList.add(new Viewbean(lianma13lin, lianma13, lianmapeilv, "八中五", "2133243"));
                linearLayoutsList.add(new Viewbean(lianma14lin, lianma14, lianmapeilv, "八中五", "2133243"));
                linearLayoutsList.add(new Viewbean(lianma15lin, lianma15, lianmapeilv, "八中五", "2133243"));
                linearLayoutsList.add(new Viewbean(lianma16lin, lianma16, lianmapeilv, "八中五", "2133243"));
                linearLayoutsList.add(new Viewbean(lianma17lin, lianma17, lianmapeilv, "八中五", "2133243"));
                linearLayoutsList.add(new Viewbean(lianma18lin, lianma18, lianmapeilv, "八中五", "2133243"));
                linearLayoutsList.add(new Viewbean(lianma19lin, lianma19, lianmapeilv, "八中五", "2133243"));
                linearLayoutsList.add(new Viewbean(lianma20lin, lianma20, lianmapeilv, "八中五", "2133243"));
                textcolorlist();
            }
        });
        renxuan8.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                bttextsetcolor();
                chongzhi();
                qiulianmabt.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                renxuan8.setBackgroundColor(getContext().getResources().getColor(R.color.text_color2));
                renxuan8.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                lianmapeilv.setText(listdata._$2133244);
                linearLayoutsList.add(new Viewbean(lianma1lin, lianma1, lianmapeilv, "前二组选", "2133244"));
                linearLayoutsList.add(new Viewbean(lianma2lin, lianma2, lianmapeilv, "前二组选", "2133244"));
                linearLayoutsList.add(new Viewbean(lianma3lin, lianma3, lianmapeilv, "前二组选", "2133244"));
                linearLayoutsList.add(new Viewbean(lianma4lin, lianma4, lianmapeilv, "前二组选", "2133244"));
                linearLayoutsList.add(new Viewbean(lianma5lin, lianma5, lianmapeilv, "前二组选", "2133244"));
                linearLayoutsList.add(new Viewbean(lianma6lin, lianma6, lianmapeilv, "前二组选", "2133244"));
                linearLayoutsList.add(new Viewbean(lianma7lin, lianma7, lianmapeilv, "前二组选", "2133244"));
                linearLayoutsList.add(new Viewbean(lianma8lin, lianma8, lianmapeilv, "前二组选", "2133244"));
                linearLayoutsList.add(new Viewbean(lianma9lin, lianma9, lianmapeilv, "前二组选", "2133244"));
                linearLayoutsList.add(new Viewbean(lianma10lin, lianma10, lianmapeilv, "前二组选", "2133244"));
                linearLayoutsList.add(new Viewbean(lianma11lin, lianma11, lianmapeilv, "前二组选", "2133244"));
                linearLayoutsList.add(new Viewbean(lianma12lin, lianma12, lianmapeilv, "前二组选", "2133244"));
                linearLayoutsList.add(new Viewbean(lianma13lin, lianma13, lianmapeilv, "前二组选", "2133244"));
                linearLayoutsList.add(new Viewbean(lianma14lin, lianma14, lianmapeilv, "前二组选", "2133244"));
                linearLayoutsList.add(new Viewbean(lianma15lin, lianma15, lianmapeilv, "前二组选", "2133244"));
                linearLayoutsList.add(new Viewbean(lianma16lin, lianma16, lianmapeilv, "前二组选", "2133244"));
                linearLayoutsList.add(new Viewbean(lianma17lin, lianma17, lianmapeilv, "前二组选", "2133244"));
                linearLayoutsList.add(new Viewbean(lianma18lin, lianma18, lianmapeilv, "前二组选", "2133244"));
                linearLayoutsList.add(new Viewbean(lianma19lin, lianma19, lianmapeilv, "前二组选", "2133244"));
                linearLayoutsList.add(new Viewbean(lianma20lin, lianma20, lianmapeilv, "前二组选", "2133244"));
                textcolorlist();
            }
        });
        renxuan9.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                bttextsetcolor();
                chongzhi();
                qiulianmabt.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                renxuan9.setBackgroundColor(getContext().getResources().getColor(R.color.text_color2));
                renxuan9.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                lianmapeilv.setText(listdata._$2133245);
                linearLayoutsList.add(new Viewbean(lianma1lin, lianma1, lianmapeilv, "前三组选", "2133245"));
                linearLayoutsList.add(new Viewbean(lianma2lin, lianma2, lianmapeilv, "前三组选", "2133245"));
                linearLayoutsList.add(new Viewbean(lianma3lin, lianma3, lianmapeilv, "前三组选", "2133245"));
                linearLayoutsList.add(new Viewbean(lianma4lin, lianma4, lianmapeilv, "前三组选", "2133245"));
                linearLayoutsList.add(new Viewbean(lianma5lin, lianma5, lianmapeilv, "前三组选", "2133245"));
                linearLayoutsList.add(new Viewbean(lianma6lin, lianma6, lianmapeilv, "前三组选", "2133245"));
                linearLayoutsList.add(new Viewbean(lianma7lin, lianma7, lianmapeilv, "前三组选", "2133245"));
                linearLayoutsList.add(new Viewbean(lianma8lin, lianma8, lianmapeilv, "前三组选", "2133245"));
                linearLayoutsList.add(new Viewbean(lianma9lin, lianma9, lianmapeilv, "前三组选", "2133245"));
                linearLayoutsList.add(new Viewbean(lianma10lin, lianma10, lianmapeilv, "前三组选", "2133245"));
                linearLayoutsList.add(new Viewbean(lianma11lin, lianma11, lianmapeilv, "前三组选", "2133245"));
                linearLayoutsList.add(new Viewbean(lianma12lin, lianma12, lianmapeilv, "前三组选", "2133245"));
                linearLayoutsList.add(new Viewbean(lianma13lin, lianma13, lianmapeilv, "前三组选", "2133245"));
                linearLayoutsList.add(new Viewbean(lianma14lin, lianma14, lianmapeilv, "前三组选", "2133245"));
                linearLayoutsList.add(new Viewbean(lianma15lin, lianma15, lianmapeilv, "前三组选", "2133245"));
                linearLayoutsList.add(new Viewbean(lianma16lin, lianma16, lianmapeilv, "前三组选", "2133245"));
                linearLayoutsList.add(new Viewbean(lianma17lin, lianma17, lianmapeilv, "前三组选", "2133245"));
                linearLayoutsList.add(new Viewbean(lianma18lin, lianma18, lianmapeilv, "前三组选", "2133245"));
                linearLayoutsList.add(new Viewbean(lianma19lin, lianma19, lianmapeilv, "前三组选", "2133245"));
                linearLayoutsList.add(new Viewbean(lianma20lin, lianma20, lianmapeilv, "前三组选", "2133245"));
                textcolorlist();
            }
        });
        qiuzonghedas.setText(listdata._$2126143);
        qiuzonghexiaos.setText(listdata._$2126147);
        qiuzonghedans.setText(listdata._$2126144);
        qiuzongheshuangs.setText(listdata._$2126148);
        zongweidas.setText(listdata._$2126145);
        zongweixiaos.setText(listdata._$2126149);
        linearLayoutsList.add(new Viewbean(qiuzonghedalin, qiuzongheda, qiuzonghedas, "总和、龙虎", "2126143"));
        linearLayoutsList.add(new Viewbean(qiuzonghexiaolin, qiuzonghexiao, qiuzonghexiaos, "总和、龙虎", "2126147"));
        linearLayoutsList.add(new Viewbean(qiuzonghedanlin, qiuzonghedan, qiuzonghedans, "总和、龙虎", "2126144"));
        linearLayoutsList.add(new Viewbean(qiuzongheshaunglin, qiuzongheshuang, qiuzongheshuangs, "总和、龙虎", "2126148"));
        linearLayoutsList.add(new Viewbean(zongweidalin, zongweida, zongweidas, "总和、龙虎", "2126145"));
        linearLayoutsList.add(new Viewbean(zongweixiaolin, zongweixiao, zongweixiaos, "总和、龙虎", "2126149"));
        longs.setText(listdata._$2126146);
        hus.setText(listdata._$2126150);
        qiu1das.setText(listdata._$2127162);
        qiu1xiaos.setText(listdata._$2127163);
        qiu1dans.setText(listdata._$2127164);
        qiu1shuangs.setText(listdata._$2127165);

        linearLayoutsList.add(new Viewbean(longlin, longt, longs, "总和、龙虎", "2126146"));
        linearLayoutsList.add(new Viewbean(hulin, hu, hus, "总和、龙虎", "2126150"));
        linearLayoutsList.add(new Viewbean(qiu1dalin, qiu1da, qiu1das, "第一球", "2127162"));
        linearLayoutsList.add(new Viewbean(qiu1xiaolin, qiu1xiao, qiu1xiaos, "第一球", "2127163"));
        linearLayoutsList.add(new Viewbean(qiu1danlin, qiu1dan, qiu1dans, "第一球", "2127164"));
        linearLayoutsList.add(new Viewbean(qiu1shaunglin, qiu1shuang, qiu1shuangs, "第一球", "2127165"));
        qiu2das.setText(listdata._$2128177);
        qiu2xiaos.setText(listdata._$2128178);
        qiu2dans.setText(listdata._$2128179);
        qiu2shuangs.setText(listdata._$2128180);
        linearLayoutsList.add(new Viewbean(qiu2dalin, qiu2da, qiu2das, "第二球", "2128177"));
        linearLayoutsList.add(new Viewbean(qiu2xiaolin, qiu2xiao, qiu2xiaos, "第二球", "2128178"));
        linearLayoutsList.add(new Viewbean(qiu2danlin, qiu2dan, qiu2dans, "第二球", "2128179"));
        linearLayoutsList.add(new Viewbean(qiu2shaunglin, qiu2shuang, qiu2shuangs, "第二球", "2128180"));

        qiu3das.setText(listdata._$2129192);
        qiu3xiaos.setText(listdata._$2129193);
        qiu3dans.setText(listdata._$2129194);
        qiu3shuangs.setText(listdata._$2129195);
        linearLayoutsList.add(new Viewbean(qiu3dalin, qiu3da, qiu3das, "第三球", "2129192"));
        linearLayoutsList.add(new Viewbean(qiu3xiaolin, qiu3xiao, qiu3xiaos, "第三球", "2129193"));
        linearLayoutsList.add(new Viewbean(qiu3danlin, qiu3dan, qiu3dans, "第三球", "2129194"));
        linearLayoutsList.add(new Viewbean(qiu3shaunglin, qiu3shuang, qiu3shuangs, "第三球", "2129195"));

        qiu4das.setText(listdata._$2130207);
        qiu4xiaos.setText(listdata._$2130208);
        qiu4dans.setText(listdata._$2130209);
        qiu4shuangs.setText(listdata._$2130210);
        linearLayoutsList.add(new Viewbean(qiu4dalin, qiu4da, qiu4das, "第四球", "2130207"));
        linearLayoutsList.add(new Viewbean(qiu4xiaolin, qiu4xiao, qiu4xiaos, "第四球", "2130208"));
        linearLayoutsList.add(new Viewbean(qiu4danlin, qiu4dan, qiu4dans, "第四球", "2130209"));
        linearLayoutsList.add(new Viewbean(qiu4shaunglin, qiu4shuang, qiu4shuangs, "第四球", "2130210"));

        qiu5das.setText(listdata._$2131222);
        qiu5xiaos.setText(listdata._$2131223);
        qiu5dans.setText(listdata._$2131224);
        qiu5shuangs.setText(listdata._$2131225);
        linearLayoutsList.add(new Viewbean(qiu5dalin, qiu5da, qiu5das, "第五球", "2131222"));
        linearLayoutsList.add(new Viewbean(qiu5xiaolin, qiu5xiao, qiu5xiaos, "第五球", "2131223"));
        linearLayoutsList.add(new Viewbean(qiu5danlin, qiu5dan, qiu5dans, "第五球", "2131224"));
        linearLayoutsList.add(new Viewbean(qiu5shaunglin, qiu5shuang, qiu5shuangs, "第五球", "2131225"));
        textcolorlist();

    }

    //十一选五
    public void shiyixuanwu(ResGameDetails resGameDetails) {
        GameDetailActivityFinal.webvideo = resGameDetails.data.videoUrl;
        dataid = String.valueOf(resGameDetails.data.issue);
        kuai8UpTv.setText(resGameDetails.data.preIssue + "期");
        periodDownTv.setText(resGameDetails.data.issue + "期");
        startleftTime(resGameDetails.data.endTime, resGameDetails.data.serverTime);
        startrightTime(resGameDetails.data.lotteryTime, resGameDetails.data.serverTime, 1);

        String[] strarray = resGameDetails.data.preNum.split(",");
        kuai8One.setText(strarray[0]);
        kuai8Two.setText(strarray[1]);
        kuai8Three.setText(strarray[2]);
        kuai8Four.setText(strarray[3]);
        kuai8Fiv.setText(strarray[4]);
        int a = Integer.parseInt(strarray[0]) + Integer.parseInt(strarray[1]) + Integer.parseInt(strarray[2]) + Integer.parseInt(strarray[3]) + Integer.parseInt(strarray[4]);
        ivtext1.setText(a + "");
        if (a > 30) {
            ivtext2.setText("大");
        } else if (a == 30) {
            ivtext2.setText("和");
        } else {
            ivtext2.setText("小");
        }
        ivtext3.setText(a % 2 == 0 ? "双" : "单");
        ivtext4.setText(a % 10 >= 5 ? "大" : "小");
        ivtext5.setText(Integer.parseInt(strarray[0]) > Integer.parseInt(strarray[4]) ? "龙" : "虎");
        if (!TextUtils.isEmpty(resGameDetails.data.issue.toString()) && !TextUtils.isEmpty(resGameDetails.data.preIssue.toString())) {
            long b = Long.parseLong(resGameDetails.data.issue.toString()) - Long.parseLong(resGameDetails.data.preIssue.toString());
            if (b != 1 && b < 3) {
                mPresenter.getgamesdetail1(gameid);
                return;
            }
        }
        //请求余额刷新
        if (null != Info.user) {
            mPresenter.getmoney(Info.user.token);
        }
    }

    //十一选五
    public void shiyixuanwu1(ResGameDetails resGameDetails) {
        GameDetailActivityFinal.webvideo = resGameDetails.data.videoUrl;
//        webvideo = resGameDetails.data.videoUrl;
        dataid = String.valueOf(resGameDetails.data.issue);
        kuai8UpTv.setText(resGameDetails.data.preIssue + "期");
        periodDownTv.setText(resGameDetails.data.issue + "期");
        if (!TextUtils.isEmpty(resGameDetails.data.issue.toString()) && !TextUtils.isEmpty(resGameDetails.data.preIssue.toString())) {
            long b = Long.parseLong(resGameDetails.data.issue.toString()) - Long.parseLong(resGameDetails.data.preIssue.toString());
            if (b != 1 && b < 3) {
                if (timer1 != null) {
                    timer1.cancel();
                    timer1 = null;
                }
                if (timer2 != null) {
                    timer2.cancel();
                    timer2 = null;
                }
                mPresenter.getgamesdetail(gameid);
                return;
            }
        }
        String[] strarray = resGameDetails.data.preNum.split(",");
        kuai8One.setText(strarray[0]);
        kuai8Two.setText(strarray[1]);
        kuai8Three.setText(strarray[2]);
        kuai8Four.setText(strarray[3]);
        kuai8Fiv.setText(strarray[4]);
        int a = Integer.parseInt(strarray[0]) + Integer.parseInt(strarray[1]) + Integer.parseInt(strarray[2]) + Integer.parseInt(strarray[3]) + Integer.parseInt(strarray[4]);
        ivtext1.setText(a + "");
        if (a > 30) {
            ivtext2.setText("大");
        } else if (a == 30) {
            ivtext2.setText("和");
        } else {
            ivtext2.setText("小");
        }
        ivtext3.setText(a % 2 == 0 ? "双" : "单");
        ivtext4.setText(a % 10 > 5 ? "大" : "小");
        ivtext5.setText(Integer.parseInt(strarray[0]) > Integer.parseInt(strarray[4]) ? "龙" : "虎");
    }

    //设置字体颜色和背景色
    private void textcolorlist() {
        for (int i = 0; i < linearLayoutsList.size(); i++) {
            final int q = i;

            linearLayoutsList.get(i).linearLayout.setOnClickListener(new View.OnClickListener() {
                @Override
                public void onClick(View v) {
                    if (thecrownIndex.contains(q + "")) {
                        thecrownIndex.remove(q + "");
                        linearLayoutsList.get(q).linearLayout.setBackgroundResource(R.drawable.betting_backgroud);
                        if (null != linearLayoutsList.get(q).textView) {
                            linearLayoutsList.get(q).textView.setTextColor(getContext().getResources().getColor(R.color.blank));
                        }
                        linearLayoutsList.get(q).textViews.setTextColor(getContext().getResources().getColor(R.color.text_color2));

                    } else {
                        if (linearLayoutsList.get(q).str.equals("任选二") || linearLayoutsList.get(q).str.equals("任选二组")
                                || linearLayoutsList.get(q).str.equals("任选三")) {
                            if (thecrownIndex.size() < 7) {
                                linearLayoutsList.get(q).linearLayout.setBackgroundResource(R.drawable.unxiazhu);
                                linearLayoutsList.get(q).textViews.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                                if (null != linearLayoutsList.get(q).textView) {
                                    linearLayoutsList.get(q).textView.setTextColor(getContext().getResources().getColor(R.color.blank));
                                }
                                thecrownIndex.add(q + "");
                            } else {
                                Toast.makeText(getContext(), "最多只能选择七项", Toast.LENGTH_SHORT).show();
                            }
                        } else if (linearLayoutsList.get(q).str.equals("三中三")) {
                            if (thecrownIndex.size() < 3) {
                                linearLayoutsList.get(q).linearLayout.setBackgroundResource(R.drawable.unxiazhu);
                                linearLayoutsList.get(q).textViews.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                                if (null != linearLayoutsList.get(q).textView) {
                                    linearLayoutsList.get(q).textView.setTextColor(getContext().getResources().getColor(R.color.blank));
                                }
                                thecrownIndex.add(q + "");
                            } else {
                                Toast.makeText(getContext(), "最多只能选择三项", Toast.LENGTH_SHORT).show();
                            }
                        } else if (linearLayoutsList.get(q).str.equals("六中五")) {
                            if (thecrownIndex.size() < 6) {
                                linearLayoutsList.get(q).linearLayout.setBackgroundResource(R.drawable.unxiazhu);
                                linearLayoutsList.get(q).textViews.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                                if (null != linearLayoutsList.get(q).textView) {
                                    linearLayoutsList.get(q).textView.setTextColor(getContext().getResources().getColor(R.color.blank));
                                }
                                thecrownIndex.add(q + "");
                            } else {
                                Toast.makeText(getContext(), "最多只能选择六项", Toast.LENGTH_SHORT).show();
                            }
                        } else if (linearLayoutsList.get(q).str.equals("二中二")) {
                            if (thecrownIndex.size() < 2) {
                                linearLayoutsList.get(q).linearLayout.setBackgroundResource(R.drawable.unxiazhu);
                                linearLayoutsList.get(q).textViews.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                                if (null != linearLayoutsList.get(q).textView) {
                                    linearLayoutsList.get(q).textView.setTextColor(getContext().getResources().getColor(R.color.blank));
                                }
                                thecrownIndex.add(q + "");
                            } else {
                                Toast.makeText(getContext(), "最多只能选择二项", Toast.LENGTH_SHORT).show();
                            }

                        } else if (linearLayoutsList.get(q).str.equals("四中四")) {
                            if (thecrownIndex.size() < 4) {
                                linearLayoutsList.get(q).linearLayout.setBackgroundResource(R.drawable.unxiazhu);
                                linearLayoutsList.get(q).textViews.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                                if (null != linearLayoutsList.get(q).textView) {
                                    linearLayoutsList.get(q).textView.setTextColor(getContext().getResources().getColor(R.color.blank));
                                }
                                thecrownIndex.add(q + "");
                            } else {
                                Toast.makeText(getContext(), "最多能选择四项", Toast.LENGTH_SHORT).show();
                            }

                        } else if (linearLayoutsList.get(q).str.equals("八中五")) {
                            if (thecrownIndex.size() < 8) {
                                linearLayoutsList.get(q).linearLayout.setBackgroundResource(R.drawable.unxiazhu);
                                linearLayoutsList.get(q).textViews.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                                if (null != linearLayoutsList.get(q).textView) {
                                    linearLayoutsList.get(q).textView.setTextColor(getContext().getResources().getColor(R.color.blank));
                                }
                                thecrownIndex.add(q + "");
                            } else {
                                Toast.makeText(getContext(), "最多只能选择八项", Toast.LENGTH_SHORT).show();
                            }

                        } else if (linearLayoutsList.get(q).str.equals("七中五")) {
                            if (thecrownIndex.size() < 7) {
                                linearLayoutsList.get(q).linearLayout.setBackgroundResource(R.drawable.unxiazhu);
                                linearLayoutsList.get(q).textViews.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                                if (null != linearLayoutsList.get(q).textView) {
                                    linearLayoutsList.get(q).textView.setTextColor(getContext().getResources().getColor(R.color.blank));
                                }
                                thecrownIndex.add(q + "");
                            } else {
                                Toast.makeText(getContext(), "最多只能选择七项", Toast.LENGTH_SHORT).show();
                            }

                        } else if (
                                linearLayoutsList.get(q).str.equals("任选四") || linearLayoutsList.get(q).str.equals("任选五") ||
                                        linearLayoutsList.get(q).str.equals("前二组选") || linearLayoutsList.get(q).str.equals("前三组选")
                                        || linearLayoutsList.get(q).str.equals("五中五")) {
                            if (thecrownIndex.size() < 5) {
                                linearLayoutsList.get(q).linearLayout.setBackgroundResource(R.drawable.unxiazhu);
                                linearLayoutsList.get(q).textViews.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                                if (null != linearLayoutsList.get(q).textView) {
                                    linearLayoutsList.get(q).textView.setTextColor(getContext().getResources().getColor(R.color.blank));
                                }
                                thecrownIndex.add(q + "");
                            } else {
                                Toast.makeText(getContext(), "最多只能选择五项", Toast.LENGTH_SHORT).show();
                            }

                        } else {
                            linearLayoutsList.get(q).linearLayout.setBackgroundResource(R.drawable.unxiazhu);
                            linearLayoutsList.get(q).textViews.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                            if (null != linearLayoutsList.get(q).textView) {
                                linearLayoutsList.get(q).textView.setTextColor(getContext().getResources().getColor(R.color.settingbg));
                            }
                            thecrownIndex.add(q + "");
                        }
                    }
                    if (linearLayoutsList.get(q).str.equals("二中二") || linearLayoutsList.get(q).str.equals("三中三")
                            || linearLayoutsList.get(q).str.equals("四中四") || linearLayoutsList.get(q).str.equals("五中五")
                            || linearLayoutsList.get(q).str.equals("六中五") || linearLayoutsList.get(q).str.equals("七中五")
                            || linearLayoutsList.get(q).str.equals("八中五")) {
                        if (thecrownIndex.size() < 2) {
                            yixuanzhong.setText(thecrownIndex.size() + "");
                        }
                    } else if (linearLayoutsList.get(q).str.equals("前二组选") || linearLayoutsList.get(q).str.equals("前三组选")) {
                        if (thecrownIndex.size() == 3) {
                            if (linearLayoutsList.get(q).str.equals("前二组选")) {
                                yixuanzhong.setText("3");
                            } else {
                                yixuanzhong.setText("1");
                            }
                        } else if (thecrownIndex.size() == 4) {
                            if (linearLayoutsList.get(q).str.equals("前二组选")) {
                                yixuanzhong.setText("6");
                            } else {
                                yixuanzhong.setText("4");
                            }
                        } else if (thecrownIndex.size() == 5) {
                            yixuanzhong.setText("10");
                        } else {
                            yixuanzhong.setText(1 + "");
                        }

                    } else {
                        for (int i = 0; i < thecrownIndex.size(); i++) {
                            betBean_Play.add(linearLayoutsList.get(Integer.parseInt(thecrownIndex.get(i))).id);
                            betBean_money.add(edmoney);
                            betBean_odds.add(linearLayoutsList.get(Integer.parseInt(thecrownIndex.get(i))).textViews.getText().toString());
                            betBean_title.add(linearLayoutsList.get(Integer.parseInt(thecrownIndex.get(i))).str);
                            if (null != linearLayoutsList.get(Integer.parseInt(thecrownIndex.get(i))).textView) {
                                betBean_text.add(linearLayoutsList.get(Integer.parseInt(thecrownIndex.get(i))).textView.getText().toString());
                                betBean_betinfo.add(linearLayoutsList.get(Integer.parseInt(thecrownIndex.get(i))).textView.getText().toString());
                            }

                        }
                        if (linearLayoutsList.get(q).str.equals("任选二") || linearLayoutsList.get(q).str.equals("任选二组")) {
                            if (thecrownIndex.size() == 2) {
                                yixuanzhong.setText(1 + "");
                            } else if (thecrownIndex.size() == 3) {
                                yixuanzhong.setText(3 + "");
                            } else if (thecrownIndex.size() == 4) {
                                yixuanzhong.setText(6 + "");
                            } else if (thecrownIndex.size() == 5) {
                                yixuanzhong.setText(10 + "");
                            } else if (thecrownIndex.size() == 6) {
                                yixuanzhong.setText(15 + "");
                            } else if (thecrownIndex.size() == 7) {
                                yixuanzhong.setText(21 + "");
                            } else {
                                yixuanzhong.setText(0 + "");
                            }
                        } else if (linearLayoutsList.get(q).str.equals("任选三")) {
                            if (thecrownIndex.size() == 3) {
                                yixuanzhong.setText(1 + "");
                            } else if (thecrownIndex.size() == 4) {
                                yixuanzhong.setText(4 + "");
                            } else if (thecrownIndex.size() == 5) {
                                yixuanzhong.setText(10 + "");
                            } else if (thecrownIndex.size() == 6) {
                                yixuanzhong.setText(20 + "");
                            } else if (thecrownIndex.size() == 7) {
                                yixuanzhong.setText(35 + "");
                            } else {
                                yixuanzhong.setText(0 + "");
                            }
                        } else if (linearLayoutsList.get(q).str.equals("任选四")) {
                            if (thecrownIndex.size() == 4) {
                                yixuanzhong.setText(1 + "");
                            } else if (thecrownIndex.size() == 5) {
                                yixuanzhong.setText(5 + "");
                            } else {
                                yixuanzhong.setText(0 + "");
                            }
                        } else if (linearLayoutsList.get(q).str.equals("任选五")) {
                            if (thecrownIndex.size() == 5) {
                                yixuanzhong.setText(1 + "");
                            } else {
                                yixuanzhong.setText(0 + "");
                            }
                        } else {
                            yixuanzhong.setText(thecrownIndex.size() + "");
                        }
                    }
                }
            });

        }

    }


    /**
     * 关闭软键盘
     */
    private void closeKeyBoard() {
        InputMethodManager imm = (InputMethodManager) touzhued.getContext().getSystemService(Context.INPUT_METHOD_SERVICE);
        if (imm.isActive()) {
            imm.hideSoftInputFromWindow(touzhued.getApplicationWindowToken(), 0);

        }
    }

    public void moneychange(ResMoney resMoney) {
        tvmoney.setText(resMoney.data.balance + "");
        Info.user.money = resMoney.data.balance + "";
    }


    /**
     * 下注成功
     */
    public void betsuccses() {
        Toast.makeText(getContext(), "下注成功", Toast.LENGTH_SHORT).show();
//        poplist.clear();
        for (Viewbean q : linearLayoutsList) {
            q.linearLayout.setBackgroundResource(R.drawable.betting_backgroud);
            if (null != q.textView) {
                q.textView.setTextColor(getContext().getResources().getColor(R.color.blank));
            }
            q.textViews.setTextColor(getContext().getResources().getColor(R.color.text_color));
            thecrownIndex.remove(q + "");
        }
        thecrownIndex.clear();
        betBean_Play.clear();
        betBean_odds.clear();
        betBean_money.clear();
        betBean_title.clear();
        betBean_text.clear();
        betBean_betinfo.clear();
        yixuanzhong.setText(thecrownIndex.size() + "");
        keybord.setVisibility(View.GONE);
        //请求余额刷新
        if (null != Info.user) {
            mPresenter.getmoney(Info.user.token);
        }
//        touzhued.setText("");
    }

    public void betfail() {
        for (Viewbean q : linearLayoutsList) {
            q.linearLayout.setBackgroundResource(R.drawable.betting_backgroud);
            if (null != q.textView) {
                q.textView.setTextColor(getContext().getResources().getColor(R.color.blank));
            }
            q.textViews.setTextColor(getContext().getResources().getColor(R.color.text_color));
            thecrownIndex.remove(q + "");
        }
        thecrownIndex.clear();

        betBean_Play.clear();
        betBean_odds.clear();
        betBean_money.clear();
        betBean_title.clear();
        betBean_text.clear();
        betBean_betinfo.clear();
        yixuanzhong.setText(thecrownIndex.size() + "");
        keybord.setVisibility(View.GONE);
    }

    //token过期
    public void restartlogin() {
        Info.user = null;
        SpUtils.clearUser(getContext());
        ((BaseActivity) getActivity()).startLogin();
    }

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        // TODO: inflate a fragment view
        View rootView = super.onCreateView(inflater, container, savedInstanceState);
        unbinder = ButterKnife.bind(this, rootView);
        return rootView;
    }

    @Override
    public void onDestroyView() {
        super.onDestroyView();
        unbinder.unbind();
    }

    /////////////////////////////////////////////////////////////////////////////
    class Adapter extends RecyclerView.Adapter<Adapter.MViewHolder>
            implements OnItemClickListener {
        @Override
        public MViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
            return new MViewHolder(LayoutInflater.from(getContext())
                    .inflate(R.layout.game_popitem, parent, false));

        }

        @Override
        public void onBindViewHolder(final MViewHolder holder, final int position) {
            if (betBean_title.get(0).equals("任选二组") || betBean_title.get(0).equals("任选二")
                    || betBean_title.get(0).equals("任选三") || betBean_title.get(0).equals("任选四")
                    || betBean_title.get(0).equals("任选五")) {
                if (poplist != null && poplist.size() != 0) {
                    if (position < poplist.size()) {
                        holder.geme_tv.setText("【" + betBean_title.get(0) + "-" + poplist.get(position) + "】");
                        holder.geme_tv1.setText("@" + betBean_odds.get(0) + "×" + betBean_money.get(0));
                    }
                }
                if (position + 1 == poplist.size()) {
                    holder.game_pop_botton.setVisibility(View.VISIBLE);
                    holder.game_pop_bottonlin.setVisibility(View.VISIBLE);
                } else {
                    holder.game_pop_botton.setVisibility(View.GONE);
                    holder.game_pop_bottonlin.setVisibility(View.GONE);
                }

                if (betBean_title.get(0).equals("任选二组") || betBean_title.get(0).equals("任选二")
                        || betBean_title.get(0).equals("任选三") || betBean_title.get(0).equals("任选四")
                        || betBean_title.get(0).equals("任选五")) {
                    holder.leftmoney.setText(poplist.size() + "");
                    holder.rightmoney.setText(poplist.size() * Long.parseLong(betBean_money.get(0)) + "");
                }
            } else {
                if (position < thecrownIndex.size()) {
                    holder.geme_tv.setVisibility(View.VISIBLE);
                    holder.geme_tv1.setVisibility(View.VISIBLE);
                    holder.geme_tv.setText("【" + betBean_title.get(0) + "-" + betBean_text.get(position) + "】");
                    holder.geme_tv1.setText("@" + betBean_odds.get(position) + "×" + betBean_money.get(position));
                } else {
                    holder.game_pop_botton.setVisibility(View.GONE);
                    holder.game_pop_bottonlin.setVisibility(View.GONE);
                }
                if (position + 1 == thecrownIndex.size()) {
                    holder.game_pop_botton.setVisibility(View.VISIBLE);
                    holder.game_pop_bottonlin.setVisibility(View.VISIBLE);
                    holder.rightmoney.setText((position + 1) * Long.parseLong(betBean_money.get(0)) + "");
                    holder.leftmoney.setText(position + 1 + "");
                } else {
                    holder.game_pop_botton.setVisibility(View.GONE);
                    holder.game_pop_bottonlin.setVisibility(View.GONE);
                }
            }
        }

        @Override
        public int getItemCount() {

            if (betBean_title.get(0).equals("任选二组") || betBean_title.get(0).equals("任选二")
                    || betBean_title.get(0).equals("任选三") || betBean_title.get(0).equals("任选四")
                    || betBean_title.get(0).equals("任选五")) {
                if (poplist.size() != 0) {
                    return poplist.size();
                } else {
                    return thecrownIndex.size();
                }
            } else {
                return thecrownIndex.size();
            }
        }

        @Override
        public void onItemClick(View view, int position) {

        }

        class MViewHolder extends RecyclerView.ViewHolder {
            TextView geme_tv, leftmoney, rightmoney;
            TextView geme_tv1;
            View game_pop_bottonlin;
            LinearLayout game_pop_botton;

            MViewHolder(View itemView) {
                super(itemView);
                geme_tv = (TextView) itemView.findViewById(R.id.gamepoptext);
                geme_tv1 = (TextView) itemView.findViewById(R.id.gamepoptext1);
                leftmoney = (TextView) itemView.findViewById(R.id.leftmoney);
                rightmoney = (TextView) itemView.findViewById(R.id.rightmoney);
                game_pop_bottonlin = (View) itemView.findViewById(R.id.game_pop_bottonlin);
                game_pop_botton = (LinearLayout) itemView.findViewById(R.id.game_pop_botton);

            }
        }

    }


    CountDownTimer timer1;
    CountDownTimer timer2;

    //封盘倒计时
    public void startleftTime(final String startTime, final String nowTime) {
        String mStartTile = startTime;
        String mNowTile = nowTime;
        Date startDate = DateUtils.strToDateLong(mStartTile);
        Date nowDate = DateUtils.strToDateLong(mNowTile);
        final long diff1 = startDate.getTime() - nowDate.getTime() + 500;
        if (diff1 - 500 > 0) {
            timer1 = new CountDownTimer(diff1, 1000) {
                @Override
                public void onTick(long millisUntilFinished) {
                    xiazhubt.setEnabled(true);
                    chongzhibt.setEnabled(true);
                    touzhued.setEnabled(true);
                    fengpanlin.setVisibility(View.GONE);
                    closeTimeTv.setText(TimeTools.getCountTimeByLong(millisUntilFinished));
                }

                @Override
                public void onFinish() {
                    if (timer1 != null) {
                        timer1.cancel();
                    }
                    closeTimeTv.setText(String.valueOf("已封盘"));
                    fengpanlin.setVisibility(View.VISIBLE);
                    keybord.setVisibility(View.GONE);
                    xiazhubt.setEnabled(false);
                    chongzhibt.setEnabled(false);
                    touzhued.setEnabled(false);
                }
            };
            timer1.start();
        }
    }


    public void startrightTime(final String startTime, final String nowTime, final int a) {
        String mStartTile = startTime;
        String mNowTile = nowTime;
        Date startDate = DateUtils.strToDateLong(mStartTile);
        Date nowDate = DateUtils.strToDateLong(mNowTile);
        final long diff = startDate.getTime() - nowDate.getTime() + 500;
        if (diff - 500 > 0) {
            timer2 = new CountDownTimer(diff, 1000) {
                @Override
                public void onTick(long millisUntilFinished) {
                    openTimeTv.setText(TimeTools.getCountTimeByLong(millisUntilFinished));
                    if (TimeTools.getCountTimeByLong(millisUntilFinished).equals("00:00:00")) {
                        openTimeTv.setText("开奖中");
                    }
                }

                @Override
                public void onFinish() {
                    if (timer2 != null) {
                        timer2.cancel();
                    }
                    openTimeTv.setText("开奖中");
                    SystemClock.sleep(2000);//休眠2秒，保证可以获取到最新的开奖数据
                    mPresenter.getgamesdetail(gameid);
                    //接着请求钱的接口
                }
            };
            timer2.start();
        }
    }

    @Override
    public void onDestroy() {
        super.onDestroy();
        if (timer1 != null) {
            timer1.cancel();
            timer1 = null;
        }
        if (timer2 != null) {
            timer2.cancel();
            timer2 = null;
        }

    }
}

